sparc: unify openprom.h
PATCH 7/7 sparc: unify openprom.h
After the preparational steps the unification was simple.
The linux_prom_pci_registers definition did not look like it could be unified at first look sine the structure is assigned using prop_getproperty() / of_get_property() so the structure is assumed to come direct form the prom.
The LINUX_OPPROM_MAGIC was kept even if it is not used by the kernel on the assumption that userspace may require it.
--- arch/sparc/include/asm/Kbuild | 2 - arch/sparc/include/asm/openprom.h | 277 +++++++++++++++++++++++++++++++++- arch/sparc/include/asm/openprom_32.h | 234 ---------------------------- arch/sparc/include/asm/openprom_64.h | 248 ------------------------------ 4 files changed, 273 insertions(+), 488 deletions(-) delete mode 100644 arch/sparc/include/asm/openprom_32.h delete mode 100644 arch/sparc/include/asm/openprom_64.h
arch/sparc/include/asm/Kbuild +0 -2
@@ -8,8 +8,6 @@ header-y += envctrl.h header-y += fbio.h header-y += jsflash.h header-y += openprom.h -header-y += openprom_32.h -header-y += openprom_64.h header-y += openpromio.h header-y += perfctr.h header-y += psrcompat.h
arch/sparc/include/asm/openprom.h +273 -4
281 lines not on this page · raw message
arch/sparc/include/asm/openprom_32.h deleted +0 -234
234 lines not on this page · raw message
arch/sparc/include/asm/openprom_64.h deleted +0 -248
248 lines not on this page · raw message
Signature · 1 line
1.6.0.2.GIT
David Miller
maintainerFrom: Sam Ravnborg <[email protected]>
Date: Thu, 1 Jan 2009 21:03:10 +0100
Quoted 11 lines
After the preparational steps the unification was simple.
The
linux_prom_pci_registersdefinition did not look like it could be unified at first look sine the structure is assigned usingprop_getproperty()/of_get_property()so the structure is assumed to come direct form the prom.The
LINUX_OPPROM_MAGICwas kept even if it is not used by the kernel on the assumption that userspace may require it.Signed-off-by Sam Ravnborg <[email protected]>
Also applied, thanks a lot Sam.