Skip to contentSkip to conversation

sparc: remove unused prom cpu functions

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

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 sparc: remove unused prom cpu functions

Remove the following unused funtions:
prom_stopcpu()
prom_idlecpu()
prom_restartcpu()

---
 arch/sparc/include/asm/oplib_32.h |    9 ----
 arch/sparc/prom/mp.c              |   78 -------------------------------------
 2 files changed, 0 insertions(+), 87 deletions(-)
arch/sparc/include/asm/oplib_32.h +0 -9
index 91411bc..6405588 100644
@@ -105,15 +105,6 @@ extern void prom_write(const char *buf, unsigned int len);
 extern int prom_startcpu(int cpunode, struct linux_prom_registers *context_table,
 			 int context, char *program_counter);
 
-/* Stop the CPU with the passed device tree node. */
-extern int prom_stopcpu(int cpunode);
-
-/* Idle the CPU with the passed device tree node. */
-extern int prom_idlecpu(int cpunode);
-
-/* Re-Start the CPU with the passed device tree node. */
-extern int prom_restartcpu(int cpunode);
-
 /* Sun4/sun4c specific memory-management startup hook. */
 
 /* Map the passed segment in the given context at the passed
arch/sparc/prom/mp.c +0 -78

81 lines not on this page · raw message

Signature · 1 line
1.6.0.6