[PATCH 3/11] Move architecture vector definitions to prom.h

Paul Mackerras paulus at samba.org
Thu Mar 14 19:52:19 EST 2013


On Fri, Mar 08, 2013 at 10:01:25PM -0600, Nathan Fontenot wrote:
> As part of handling of handling PRRN events we will need to check the
> vector 5 portion of the architecture bits reported in the device tree
> to ensure that PRRN event handling is enabled. In order to do this a
> new platform_has_feature call is introduced (in a subsequent patch) to
> make this check.  To avoid having to re-define bits in the architecture
> vector the bits are moved to prom.h.
> 
> This patch is the first step in implementing the platform_has_feature
> call by simply moving the bit definitions from prom_init.c to asm/prom.h.
> There are no functional.
> 
> Signed-off-by: Nathan Fontenot <nfont at linux.vnet.ibm.com>

Acked-by: Paul Mackerras <paulus at samba.org>


More information about the Linuxppc-dev mailing list