Problems with macros LOAD_REG_ADDR and LOAD_REG_IMMEDIATE

2008-09-22 Thread Mitesh R. Meswani
I am having issues using LOAD_REG_ADDR and LOAD_REG_IMMEDIATE macros on a ppc64 kernel which I have tried on both 2.6.16 and 2.6.17 kernels. I noticed that these macros by default loading value 0 instead of the actual address. Is this a bug of the compiler that can be fixed, I noticed when I

Re: Problems with macros LOAD_REG_ADDR and LOAD_REG_IMMEDIATE

2008-09-22 Thread Benjamin Herrenschmidt
On Mon, 2008-09-22 at 12:16 -0600, Mitesh R. Meswani wrote: I am having issues using LOAD_REG_ADDR and LOAD_REG_IMMEDIATE macros on a ppc64 kernel which I have tried on both 2.6.16 and 2.6.17 kernels. I noticed that these macros by default loading value 0 instead of the actual address. Is