X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fpartitions%2Fmac.c;h=c0871002d00d00f8c036d8b3a873f5a7e31a765b;hb=d1480c56feb2a894fd47fb399999a5b320c3e103;hp=bb22cdd0cb1433b8b05b8427ffb43c107f8f591e;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=powerpc.git diff --git a/fs/partitions/mac.c b/fs/partitions/mac.c index bb22cdd0cb..c0871002d0 100644 --- a/fs/partitions/mac.c +++ b/fs/partitions/mac.c @@ -6,12 +6,12 @@ * Re-organised Feb 1998 Russell King */ -#include #include #include "check.h" #include "mac.h" #ifdef CONFIG_PPC_PMAC +#include extern void note_bootable_part(dev_t dev, int part, int goodness); #endif @@ -79,7 +79,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);