]> git.baikalelectronics.ru Git - kernel.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)
commitb0f2cf8700754dda8c5ea3ede07fe64ee0339512
tree37698c88df06cb186026c9616d6d98405c72b161
parent038b33ce28bdc7b4cd026babba784c79e1b4d080
[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