Skip to content

Commit

Permalink
sparc: Use sparc64 version of prom/printf.c
Browse files Browse the repository at this point in the history
Use sparc64 version of prom/printf.c.

The only differences for sparc32 is that prom_printf is no longer
exported for modules which should be OK.

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Robert Reif authored and David S. Miller committed Dec 8, 2008
1 parent 89b409f commit efe6c3d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 50 deletions.
2 changes: 1 addition & 1 deletion arch/sparc/include/asm/oplib_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ extern char prom_getchar(void);
extern void prom_putchar(char character);

/* Prom's internal routines, don't use in kernel/boot code. */
extern void prom_printf(char *fmt, ...);
extern void prom_printf(const char *fmt, ...);
extern void prom_write(const char *buf, unsigned int len);

/* Multiprocessor operations... */
Expand Down
2 changes: 1 addition & 1 deletion arch/sparc/prom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lib-$(CONFIG_SPARC32) += palloc.o
lib-$(CONFIG_SPARC32) += ranges.o
lib-$(CONFIG_SPARC32) += segment.o
lib-y += console_$(BITS).o
lib-y += printf_$(BITS).o
lib-y += printf.o
lib-y += tree_$(BITS).o
lib-$(CONFIG_SPARC64) += p1275.o
lib-$(CONFIG_SPARC64) += cif.o
File renamed without changes.
48 changes: 0 additions & 48 deletions arch/sparc/prom/printf_32.c

This file was deleted.

0 comments on commit efe6c3d

Please sign in to comment.