[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>
This commit is contained in:

committed by
Tony Luck

parent
e56e2dcd38
commit
e088a4ad7f
@@ -107,10 +107,10 @@ unsigned long bootmap_start;
|
||||
* bootmap_start. This address must be page-aligned.
|
||||
*/
|
||||
static int __init
|
||||
find_bootmap_location (unsigned long start, unsigned long end, void *arg)
|
||||
find_bootmap_location (u64 start, u64 end, void *arg)
|
||||
{
|
||||
unsigned long needed = *(unsigned long *)arg;
|
||||
unsigned long range_start, range_end, free_start;
|
||||
u64 needed = *(unsigned long *)arg;
|
||||
u64 range_start, range_end, free_start;
|
||||
int i;
|
||||
|
||||
#if IGNORE_PFN0
|
||||
@@ -229,8 +229,7 @@ find_memory (void)
|
||||
alloc_per_cpu_data();
|
||||
}
|
||||
|
||||
static int
|
||||
count_pages (u64 start, u64 end, void *arg)
|
||||
static int count_pages(u64 start, u64 end, void *arg)
|
||||
{
|
||||
unsigned long *count = arg;
|
||||
|
||||
|
Reference in New Issue
Block a user