From 42fd8c19b58fe8f8fe7559ea53b1cef12fc06240 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 16 Jan 2017 07:03:35 -0700 Subject: 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 Reviewed-by: Bin Meng --- arch/x86/include/asm/tables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/x86/include/asm/tables.h') diff --git a/arch/x86/include/asm/tables.h b/arch/x86/include/asm/tables.h index 81f98f27745..d1b23880219 100644 --- a/arch/x86/include/asm/tables.h +++ b/arch/x86/include/asm/tables.h @@ -65,6 +65,6 @@ void write_tables(void); * @start: start address to write PIRQ routing table * @return: end address of PIRQ routing table */ -u32 write_pirq_routing_table(u32 start); +ulong write_pirq_routing_table(ulong start); #endif /* _X86_TABLES_H_ */ -- cgit v1.2.3