Skip to content

Commit

Permalink
sparc: drop prom/palloc.c
Browse files Browse the repository at this point in the history
None of the functions was used.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Jan 3, 2011
1 parent 743ceee commit efef2e4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 54 deletions.
10 changes: 0 additions & 10 deletions arch/sparc/include/asm/oplib_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion arch/sparc/prom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
43 changes: 0 additions & 43 deletions arch/sparc/prom/palloc.c

This file was deleted.

0 comments on commit efef2e4

Please sign in to comment.