Skip to content

Commit

Permalink
[SPARC64]: Kill arch/sparc64/prom/memory.c
Browse files Browse the repository at this point in the history
No longer used.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Sep 30, 2005
1 parent 13edad7 commit 4cb29d1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 170 deletions.
2 changes: 1 addition & 1 deletion arch/sparc64/prom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
EXTRA_AFLAGS := -ansi
EXTRA_CFLAGS := -Werror

lib-y := bootstr.o devops.o init.o memory.o misc.o \
lib-y := bootstr.o devops.o init.o misc.o \
tree.o console.o printf.o p1275.o cif.o
3 changes: 0 additions & 3 deletions arch/sparc64/prom/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ int prom_chosen_node;
* failure. It gets passed the pointer to the PROM vector.
*/

extern void prom_meminit(void);
extern void prom_cif_init(void *, void *);

void __init prom_init(void *cif_handler, void *cif_stack)
Expand Down Expand Up @@ -90,8 +89,6 @@ void __init prom_init(void *cif_handler, void *cif_stack)

printk ("PROMLIB: Sun IEEE Boot Prom %s\n", buffer + bufadjust);

prom_meminit();

/* Initialization successful. */
return;

Expand Down
152 changes: 0 additions & 152 deletions arch/sparc64/prom/memory.c

This file was deleted.

14 changes: 0 additions & 14 deletions include/asm-sparc64/oplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,6 @@ extern int prom_devclose(int device_handle);
extern void prom_seek(int device_handle, unsigned int seek_hival,
unsigned int seek_lowval);

/* Machine memory configuration routine. */

/* This function returns a V0 format memory descriptor table, it has three
* entries. One for the total amount of physical ram on the machine, one
* for the amount of physical ram available, and one describing the virtual
* areas which are allocated by the prom. So, in a sense the physical
* available is a calculation of the total physical minus the physical mapped
* by the prom with virtual mappings.
*
* These lists are returned pre-sorted, this should make your life easier
* since the prom itself is way too lazy to do such nice things.
*/
extern struct linux_mem_p1275 *prom_meminfo(void);

/* Miscellaneous routines, don't really fit in any category per se. */

/* Reboot the machine with the command line passed. */
Expand Down

0 comments on commit 4cb29d1

Please sign in to comment.