Skip to contentSkip to conversation

sparc: drop prom/palloc.c

PATCH In review Sam Ravnborg 1 participant 1 message Jan 1, 2011 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 sparc: drop prom/palloc.c

None of the functions was used.

---
 arch/sparc/include/asm/oplib_32.h |   10 --------
 arch/sparc/prom/Makefile          |    1 -
 arch/sparc/prom/palloc.c          |   43 -------------------------------------
 3 files changed, 0 insertions(+), 54 deletions(-)
 delete mode 100644 arch/sparc/prom/palloc.c
arch/sparc/include/asm/oplib_32.h +0 -10
index 31d2249..91411bc 100644
@@ -114,16 +114,6 @@ extern int prom_idlecpu(int cpunode);
 /* Re-Start the CPU with the passed device tree node. */
 extern int prom_restartcpu(int cpunode);
 
-/* PROM memory allocation facilities... */
-
-/* Allocated at possibly the given virtual address a chunk of the
- * indicated size.
- */
-extern char *prom_alloc(char *virt_hint, unsigned int size);
-
-/* Free a previously allocated chunk. */
-extern void prom_free(char *virt_addr, unsigned int size);
-
 /* Sun4/sun4c specific memory-management startup hook. */
 
 /* Map the passed segment in the given context at the passed
arch/sparc/prom/Makefile +0 -1
index 113e630..8287bbe 100644
@@ -9,7 +9,6 @@ lib-y                 += init_$(BITS).o
 lib-$(CONFIG_SPARC32) += memory.o
 lib-y                 += misc_$(BITS).o
 lib-$(CONFIG_SPARC32) += mp.o
-lib-$(CONFIG_SPARC32) += palloc.o
 lib-$(CONFIG_SPARC32) += ranges.o
 lib-$(CONFIG_SPARC32) += segment.o
 lib-y                 += console_$(BITS).o
arch/sparc/prom/palloc.c deleted +0 -43

43 lines not on this page · raw message

Signature · 1 line
1.6.0.6