[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
long primitive for memory addresses
Hi all,
In many kernel data structures (struct pglist_data and struct zone_struct at
least) pointers to physical memory are represented as long values. On the
x86 platform, why can't 32-bit memory addresses be represented with only an
int instead? Or is this just to have to change less code for 64-bit
architectures?
Thanks,
Kirk
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/