Re: [PATCH 7/8] percpu: add __percpu sparse annotations to hw_breakpoint

Al Viro
2010-01-26T02:05:47Z

On Tue, Jan 26, 2010 at 11:06:10AM +0900, Tejun Heo wrote:
> Hello,
>
> On 01/26/2010 10:02 AM, H. Peter Anvin wrote:
> > A cast (using __typeof__) combined with an address space override?
>
> That still puts the address specification at the wrong level. The
> problem is that the __typeof__ would be an array type which itself
> doesn't have address space set but its members are in address space 3.
> So, you need to get *inside* the array type def to change that. :-(

Could you post the actual definitions in one piece? Would be easier to
discuss what's going on...