x86: Use unsigned long for address in table generation
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:03:35 +0000 (07:03 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 6 Feb 2017 03:38:46 +0000 (11:38 +0800)
commit42fd8c19b58fe8f8fe7559ea53b1cef12fc06240
treeb06a899ecdd9ec87f8415518e98ed14e08832431
parent0ec28e026606fa579e9c8639f82843fb6a60337a
x86: Use unsigned long for address in table generation

We should use unsigned long rather than u32 for addresses. Update this so
that the table-generation code builds correctly on 64-bit machines.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
13 files changed:
arch/x86/cpu/irq.c
arch/x86/include/asm/acpi_table.h
arch/x86/include/asm/mpspec.h
arch/x86/include/asm/sfi.h
arch/x86/include/asm/tables.h
arch/x86/lib/acpi_table.c
arch/x86/lib/mpspec.c
arch/x86/lib/sfi.c
arch/x86/lib/tables.c
arch/x86/lib/zimage.c
drivers/misc/qfw.c
include/smbios.h
lib/smbios.c