cosmetic changes

This commit is contained in:
Stefan Lankes 2011-07-19 09:23:55 +02:00
parent d05ffcacac
commit a422926dda

View file

@ -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);