diff options
author | Matthew Wilcox <matthew@wil.cx> | 2009-05-22 16:49:49 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2009-06-17 12:33:49 -0400 |
commit | e088a4ad7fa53c3dc3c29f930025f41ccf01953e (patch) | |
tree | 07b012952bbbaccfe4ef3bb44b1ea0a3a3bb3868 /arch/ia64/mm/contig.c | |
parent | e56e2dcd381d9ec35379328f332221581eda4787 (diff) |
[IA64] Convert ia64 to use int-ll64.h
It is generally agreed that it would be beneficial for u64 to be an
unsigned long long on all architectures. ia64 (in common with several
other 64-bit architectures) currently uses unsigned long. Migrating
piecemeal is too painful; this giant patch fixes all compilation warnings
and errors that come as a result of switching to use int-ll64.h.
Note that userspace will still see __u64 defined as unsigned long. This
is important as it affects C++ name mangling.
[Updated by Tony Luck to change efi.h:efi_freemem_callback_t to use
u64 for start/end rather than unsigned long]
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/mm/contig.c')
-rw-r--r-- | arch/ia64/mm/contig.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/ia64/mm/contig.c b/arch/ia64/mm/contig.c index 0ee085efbe29..2f724d2bf299 100644 --- a/arch/ia64/mm/contig.c +++ b/arch/ia64/mm/contig.c | |||
@@ -107,10 +107,10 @@ unsigned long bootmap_start; | |||
107 | * bootmap_start. This address must be page-aligned. | 107 | * bootmap_start. This address must be page-aligned. |
108 | */ | 108 | */ |
109 | static int __init | 109 | static int __init |
110 | find_bootmap_location (unsigned long start, unsigned long end, void *arg) | 110 | find_bootmap_location (u64 start, u64 end, void *arg) |
111 | { | 111 | { |
112 | unsigned long needed = *(unsigned long *)arg; | 112 | u64 needed = *(unsigned long *)arg; |
113 | unsigned long range_start, range_end, free_start; | 113 | u64 range_start, range_end, free_start; |
114 | int i; | 114 | int i; |
115 | 115 | ||
116 | #if IGNORE_PFN0 | 116 | #if IGNORE_PFN0 |
@@ -229,8 +229,7 @@ find_memory (void) | |||
229 | alloc_per_cpu_data(); | 229 | alloc_per_cpu_data(); |
230 | } | 230 | } |
231 | 231 | ||
232 | static int | 232 | static int count_pages(u64 start, u64 end, void *arg) |
233 | count_pages (u64 start, u64 end, void *arg) | ||
234 | { | 233 | { |
235 | unsigned long *count = arg; | 234 | unsigned long *count = arg; |
236 | 235 | ||