It was returning true for ARCH_PREP although not an Apple device. Limit it to Old World and New World Macs.
Signed-off-by: Andreas Färber andreas.faerber@web.de --- arch/ppc/qemu/init.c | 2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c index a8fc320..8efbeeb 100644 --- a/arch/ppc/qemu/init.c +++ b/arch/ppc/qemu/init.c @@ -76,7 +76,7 @@ enum {
int is_apple(void) { - return 1; + return is_oldworld() || is_newworld(); }
int is_oldworld(void)