aboutsummaryrefslogtreecommitdiffstats
path: root/fs/partitions/mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/partitions/mac.c')
-rw-r--r--fs/partitions/mac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/partitions/mac.c b/fs/partitions/mac.c
index bb22cdd0cb14..813292f21210 100644
--- a/fs/partitions/mac.c
+++ b/fs/partitions/mac.c
@@ -12,6 +12,7 @@
12#include "mac.h" 12#include "mac.h"
13 13
14#ifdef CONFIG_PPC_PMAC 14#ifdef CONFIG_PPC_PMAC
15#include <asm/machdep.h>
15extern void note_bootable_part(dev_t dev, int part, int goodness); 16extern void note_bootable_part(dev_t dev, int part, int goodness);
16#endif 17#endif
17 18
@@ -79,7 +80,7 @@ int mac_partition(struct parsed_partitions *state, struct block_device *bdev)
79 * If this is the first bootable partition, tell the 80 * If this is the first bootable partition, tell the
80 * setup code, in case it wants to make this the root. 81 * setup code, in case it wants to make this the root.
81 */ 82 */
82 if (_machine == _MACH_Pmac) { 83 if (machine_is(powermac)) {
83 int goodness = 0; 84 int goodness = 0;
84 85
85 mac_fix_string(part->processor, 16); 86 mac_fix_string(part->processor, 16);