X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fpartitions%2Fmac.c;fp=fs%2Fpartitions%2Fmac.c;h=813292f21210d73ffa47f4013fab164743e9a3f9;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=bb22cdd0cb1433b8b05b8427ffb43c107f8f591e;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/fs/partitions/mac.c b/fs/partitions/mac.c index bb22cdd0c..813292f21 100644 --- a/fs/partitions/mac.c +++ b/fs/partitions/mac.c @@ -12,6 +12,7 @@ #include "mac.h" #ifdef CONFIG_PPC_PMAC +#include extern void note_bootable_part(dev_t dev, int part, int goodness); #endif @@ -79,7 +80,7 @@ int mac_partition(struct parsed_partitions *state, struct block_device *bdev) * If this is the first bootable partition, tell the * setup code, in case it wants to make this the root. */ - if (_machine == _MACH_Pmac) { + if (machine_is(powermac)) { int goodness = 0; mac_fix_string(part->processor, 16);