lkml.org 
[lkml]   [2009]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] FRV: Fix the section attribute on UP DECLARE_PER_CPU()
Date
Linus Torvalds <torvalds@linux-foundation.org> wrote:

> We should have the DECLARE_PER_CPU() #defines next to the DEFINE_PER_CPU
> ones, rather than somewhere else.
>
> So moving the logic to <asm-generic/percpu.h> is wrong - make it all be in
> <linux/percpu.h> so that they can be maintained together.

Agreed, it would be nice. However, x86 requires it to be declared in the
middle of asm/percpu.h (ie: in asm-generic/percpu.h). I'm trying to sort it
out, but it's like trying to juggle hyperdimensional spaghetti:-/ How much
header file overhaul do you wish to indulge in? And can I split some headers
into separate headers for declarations and inline functions?

David


\
 
 \ /
  Last update: 2009-04-14 20:03    [W:1.522 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site