sparc: drop prom/devmap.c
PATCH 1/4 sparc: drop prom/devmap.c
None of the functions was used.
Signed-off-by Sam Ravnborg <[email protected]>
--- arch/sparc/include/asm/oplib_32.h | 12 -------- arch/sparc/prom/Makefile | 1 - arch/sparc/prom/devmap.c | 53 ------------------------------------- 3 files changed, 0 insertions(+), 66 deletions(-) delete mode 100644 arch/sparc/prom/devmap.c
arch/sparc/include/asm/oplib_32.h +0 -12
@@ -48,18 +48,6 @@ extern void prom_init(struct linux_romvec *rom_ptr);/* Boot argument acquisition, returns the boot command line string. */ extern char *prom_getbootargs (void ); -/* Device utilities. */ - -/* Map and unmap devices in IO space at virtual addresses. Note that the -* virtual address you pass is a request and the prom may put your mappings -* somewhere else, so check your return value as that is where your new -* mappings really are! -* -* Another note, these are only available on V2 or higher proms! -*/ -extern char *prom_mapio (char *virt_hint,int io_space,unsigned int phys_addr,unsigned int num_bytes); -extern void prom_unmapio (char *virt_addr,unsigned int num_bytes); -/* Miscellaneous routines, don't really fit in any category per se. */ /* Reboot the machine with the command line passed. */
arch/sparc/prom/Makefile +0 -1
@@ -5,7 +5,6 @@ asflags := -ansi ccflags := -Werror lib-y := bootstr_$(BITS).o -lib-$(CONFIG_SPARC32) += devmap.o lib-y += init_$(BITS).o lib-$(CONFIG_SPARC32) += memory.o lib-y += misc_$(BITS).o
arch/sparc/prom/devmap.c deleted +0 -53
53 lines not on this page · raw message
Signature · 1 line
1.6.0.6