Thread (16 messages) flat view 16 messages, 3 authors, 2011-10-28

Re: [PATCH 2/3] [44x] Enable CONFIG_RELOCATABLE for PPC44x

From: Scott Wood <hidden>
Date: 2011-10-10 18:00:21

On 10/10/2011 04:56 AM, Suzuki K. Poulose wrote:
#if defined(CONFIG_RELOCATABLE) && defined(CONFIG_44x)
#define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) - PHYSICAL_START + (KERNELBASE + RELOC_OFFSET)))
#define __pa(x) ((unsigned long)(x) + PHYSICAL_START - (KERNELBASE + RELOC_OFFSET))
#endif
Why is this 44x-specific?

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help