]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/pseries: Move architecture vector definitions to prom.h
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Wed, 24 Apr 2013 05:53:10 +0000 (05:53 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Apr 2013 06:08:21 +0000 (16:08 +1000)
commit530b5e1475e5bab5d5e5d03438004ad609068146
tree671a1086b47efab3383e847c67452a4eba8d8fe8
parent49c68a8518b4c109b01fd0b15dbb08c64fab911d
powerpc/pseries: Move architecture vector definitions to prom.h

As part of handling of PRRN events we need to check vector 5 of the
architecture vector bits reported in the device tree to ensure PRRN event
handling is enabled. To do this firmware_has_feature() is updated (in a
subsequent patch) to make this check vector 5 bits. To avoid having to
re-define bits in the architecture vector the bit definitions are moved
to prom.h.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/prom.h
arch/powerpc/kernel/prom_init.c