From a422926ddafb7420ec820d39db7fb948a484c97b Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Tue, 19 Jul 2011 09:23:55 +0200 Subject: [PATCH] cosmetic changes --- arch/x86/kernel/apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index df811140..ef2f82a1 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c @@ -568,7 +568,7 @@ static int apic_probe(void) // searching MP signature in the reserved memory areas #ifdef CONFIG_MULTIBOOT - if (mb_info && (mb_info->flags & (1 << 6))) { + if (mb_info && (mb_info->flags & MULTIBOOT_INFO_MEM_MAP)) { multiboot_memory_map_t* mmap = (multiboot_memory_map_t*) mb_info->mmap_addr; multiboot_memory_map_t* mmap_end = (void*) ((size_t) mb_info->mmap_addr + mb_info->mmap_length);