From 8ac682c97498c5c6851e221c767cc661ea65a829 Mon Sep 17 00:00:00 2001 From: Mikael Pettersson Date: Tue, 24 Jul 2007 00:25:59 +0200 Subject: [PATCH] --- yaml --- r: 62914 b: refs/heads/master c: 1514ab09edb071345fe17cd230c97f9e72c9478e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/i386/boot/apm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 67bce3a32e73..639fbfa38996 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 80492cc797ea15572de8eac766cbf606626ee338 +refs/heads/master: 1514ab09edb071345fe17cd230c97f9e72c9478e diff --git a/trunk/arch/i386/boot/apm.c b/trunk/arch/i386/boot/apm.c index a34087c370c0..8be3f5686af6 100644 --- a/trunk/arch/i386/boot/apm.c +++ b/trunk/arch/i386/boot/apm.c @@ -40,7 +40,7 @@ int query_apm_bios(void) if (bx != 0x504d) /* "PM" signature */ return -1; - if (cx & 0x02) /* 32 bits supported? */ + if (!(cx & 0x02)) /* 32 bits supported? */ return -1; /* Disconnect first, just in case */