]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] powerpc: Use the ibm,pa-features property if available
authorPaul Mackerras <paulus@samba.org>
Wed, 3 May 2006 13:04:37 +0000 (23:04 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 May 2006 13:06:47 +0000 (23:06 +1000)
commitd205819e2346d20fee41297ea6cf789c591abccf
tree37698c88df06cb186026c9616d6d98405c72b161
parent6bfd93c32a5065d0e858780b3beb0b667081601c
[PATCH] powerpc: Use the ibm,pa-features property if available

Forthcoming IBM machines will have a "ibm,pa-features" property on CPU
nodes, that contains bits indicating which optional architecture
features are implemented by the CPU.  This adds code to use the
property, if present, to update our CPU feature bitmaps.  Note that
this means we can both set and clear feature bits based on what
the firmware tells us.

This is based on a patch by Will Schmidt <willschm@us.ibm.com>.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c