Re: [PATCH] of: specify initrd location using 64-bit
From: Cyril Chemparathy <hidden>
Date: 2012-09-12 18:04:03
Also in:
linux-arm-kernel, linux-mips, linuxppc-dev, lkml
From: Cyril Chemparathy <hidden>
Date: 2012-09-12 18:04:03
Also in:
linux-arm-kernel, linux-mips, linuxppc-dev, lkml
On 9/12/2012 12:16 PM, Geert Uytterhoeven wrote:
On Wed, Sep 12, 2012 at 6:05 PM, Cyril Chemparathy [off-list ref] wrote:quoted
On some PAE architectures, the entire range of physical memory could reside outside the 32-bit limit. These systems need the ability to specify the initrd location using 64-bit numbers. This patch globally modifies the early_init_dt_setup_initrd_arch() function to use 64-bit numbers instead of the current unsigned long.quoted
-void __init early_init_dt_setup_initrd_arch(unsigned long start, unsigned long end) +void __init early_init_dt_setup_initrd_arch(u64 start, u64 end)Why not phys_addr_t?
The rest of the memory specific bits of the device-tree code use u64 for addresses, and I kept it the same for consistency.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds-- Thanks - Cyril