Messages in this thread | | | From | Tabi Timur-B04825 <> | Subject | Re: [PATCH] uio: Support 36-bit physical addresses on 32-bit systems | Date | Thu, 13 Oct 2011 14:10:59 +0000 |
| |
On Wed, Oct 12, 2011 at 11:15 AM, Geert Uytterhoeven <geert@linux-m68k.org> wrote: > >> Do we believe phys_addr_t is always greater than or equal to size need for logical & virtual addresses? > > Yes: > > #ifdef CONFIG_PHYS_ADDR_T_64BIT > typedef u64 phys_addr_t; > #else > typedef u32 phys_addr_t; > #endif
This isn't really an answer to the question. This just says that phys_addr_t can be 64-bit. I don't see anywhere in the kernel that we *enforce* or *require* that sizeof(phys_addr_t) >= sizeof(void *).
-- Timur Tabi Linux kernel developer at Freescale
| |