Messages in this thread | | | Date | Fri, 26 Jun 2009 16:47:05 +0400 | From | Ivan Kokshaysky <> | Subject | Re: >= 2.6.30 broken alpha smp build |
| |
On Fri, Jun 26, 2009 at 09:43:22AM +0900, Tejun Heo wrote: > The __used attribute is dropped by a patch in percpu patchset as it > caused build warning on my test builds and wasn't even effective > as-was (overriden by later NULL definition). Ivan, any ideas why it's > there?
It was intended for suppressing the compiler warnings about "unused" static per-cpu variables, as they were only referenced inside the asm code.
Now it seems to be broken with DECLARE_PER_CPU thing, so I think your patch that kills __used attribute should go in as a compile fix ASAP - we can live with a few compile warnings until the rest of percpu patchset gets merged.
Ivan.
| |