Skip to contentSkip to conversation

: sparc: Create common area for OF device layer code.

PATCH In review David Miller 1 participant 1 message Dec 6, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 3/14 : sparc: Create common area for OF device layer code.

sparc: Create common area for OF device layer code.

This is where common code implementations will go as we unify 32-bit and 64-bit OF device tree code.

---
 arch/sparc/kernel/Makefile      |    1 +
 arch/sparc/kernel/prom_32.c     |   94 ------------------------------
 arch/sparc/kernel/prom_64.c     |   94 ------------------------------
 arch/sparc/kernel/prom_common.c |  121 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 122 insertions(+), 188 deletions(-)
 create mode 100644 arch/sparc/kernel/prom_common.c
arch/sparc/kernel/Makefile +1 -0
index cd13d7f..d0d63b1 100644
@@ -35,6 +35,7 @@ obj-y                   += ptrace_$(BITS).o
 obj-y                   += unaligned_$(BITS).o
 obj-y                   += una_asm_$(BITS).o
 obj-$(CONFIG_SPARC32)   += muldiv.o
+obj-y                   += prom_common.o
 obj-y                   += prom_$(BITS).o
 obj-y                   += of_device_$(BITS).o
 
arch/sparc/kernel/prom_32.c +0 -94

100 lines not on this page · raw message

arch/sparc/kernel/prom_64.c +0 -94

100 lines not on this page · raw message

arch/sparc/kernel/prom_common.c new file +121 -0

121 lines not on this page · raw message

Signature · 1 line
1.5.6.5