linux-stable-rt/arch/x86/boot
Andi Kleen 1b72691ce3 x86: fix build warnings in real mode code
This recent patch

commit c3965bd151
Author: Paul Jackson <pj@sgi.com>
Date:   Wed May 14 08:15:34 2008 -0700

    x86 boot: proper use of ARRAY_SIZE instead of repeated E820MAX constant

caused these new warnings during a normal build:

In file included from linux-2.6/arch/x86/boot/memory.c:17:
linux-2.6/include/linux/log2.h: In function '__ilog2_u32':
linux-2.6/include/linux/log2.h:34: warning: implicit declaration of function 'fls'
linux-2.6/include/linux/log2.h: In function '__ilog2_u64':
linux-2.6/include/linux/log2.h:42: warning: implicit declaration of function 'fls64'
linux-2.6/include/linux/log2.h: In function '__roundup_pow_of_two ':
linux-2.6/include/linux/log2.h:63: warning: implicit declaration of function 'fls_long'

I tried to fix them in log2.h, but it's difficult because the real mode
environment is completely different from a normal kernel environment. Instead
define an own ARRAY_SIZE macro in boot.h, similar to the other private
macros there.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-08-18 09:20:14 +02:00
..
compressed inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
tools
.gitignore
Makefile
a20.c Merge branch 'x86/setup' into x86/devel 2008-07-08 09:43:01 +02:00
apm.c
bitops.h
boot.h x86: fix build warnings in real mode code 2008-08-18 09:20:14 +02:00
cmdline.c
code16gcc.h
copy.S
cpu.c x86: cleanup for setup code crashes during IST probe 2008-08-14 00:13:52 +02:00
cpucheck.c x86: cleanup for setup code crashes during IST probe 2008-08-14 00:13:52 +02:00
edd.c x86: check function status in EDD boot code 2008-07-18 14:33:17 -07:00
header.S
install.sh
main.c x86: cleanup for setup code crashes during IST probe 2008-08-14 00:13:52 +02:00
mca.c
memory.c x86: fix build warnings in real mode code 2008-08-18 09:20:14 +02:00
mkcpustr.c
mtools.conf.in
pm.c x86: unify and correct the GDT_ENTRY() macro 2008-07-17 11:29:24 -07:00
pmjump.S x86: fix regression: boot failure on AMD Elan TS-5500 2008-07-01 10:53:29 +02:00
printf.c
setup.ld
string.c
tty.c
version.c
vesa.h
video-bios.c
video-mode.c
video-vesa.c
video-vga.c
video.c
video.h
voyager.c