powerpc: Export PIR data through sysfs
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>
Thu, 10 Nov 2011 19:58:53 +0000 (19:58 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 25 Nov 2011 03:53:23 +0000 (14:53 +1100)
commit595fe91447b03cb72c97f45bc5db30fd73b66b38
tree3dbfd08b962eb6215d17c105e6b743b6d920ebaf
parent184cd4a3b962a4769889615430eaf40076b97969
powerpc: Export PIR data through sysfs

On Fri, Nov 11, 2011 at 10:17:55AM +0530, Ananth N Mavinakayanahalli wrote:
> >
> > At this rate we're going to end up with no bits left for CPU features
> > way too quickly... Especially for something we only care about once at
> > boot time.
> >
> > Wouldn't CPU_FTR_PPCAS_ARCH_V2 be a good enough test ?
>
> /me checks Cell manuals... yes, that test would be good enough. I will
> cook up a patch to use this.

Here it is...

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/sysfs.c