[POWERPC] Generalise device_node flag interface
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 19 Jun 2007 06:07:58 +0000 (16:07 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jul 2007 11:53:46 +0000 (21:53 +1000)
commitd3b814bb1e8b0c63449a3430196c20cbe24a3e67
treeefc3e7df26def2a93768d78e55b0cc8bc4d96b80
parent972d17c9dbad378da61baa17f4c3ea6e154b186a
[POWERPC] Generalise device_node flag interface

The struct device_node currently has a _flags variable, although
it's only used for one flag - OF_DYNAMIC.  Generalise the flag
accessors so we can use them with other flags in future.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c
arch/powerpc/platforms/pseries/reconfig.c
include/asm-powerpc/prom.h