
On Sun, Nov 20, 2016 at 4:24 AM, Simon Glass sjg@chromium.org wrote:
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
Changes in v2:
- Move table-related changes from a later patch
- Rebase to mainline
- Drop the write_smbios_table_wrapper() function
arch/x86/cpu/irq.c | 2 +- arch/x86/include/asm/acpi_table.h | 2 +- arch/x86/include/asm/mpspec.h | 2 +- arch/x86/include/asm/sfi.h | 2 +- arch/x86/include/asm/tables.h | 2 +- arch/x86/lib/acpi_table.c | 4 ++-- arch/x86/lib/mpspec.c | 2 +- arch/x86/lib/sfi.c | 6 +++--- arch/x86/lib/tables.c | 11 ++--------- arch/x86/lib/zimage.c | 2 +- drivers/misc/qfw.c | 4 ++-- include/smbios.h | 4 ++-- lib/smbios.c | 22 +++++++++++----------- 13 files changed, 29 insertions(+), 36 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com