j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
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)
On 24/02/13 21:02, Andreas Färber wrote:
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ärberandreas.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)
This looks reasonably sensible to me - are you planning to commit?
ATB,
Mark.