patch-2.4.0-test2 linux/arch/ppc/mm/mem_pieces.h
Next file: linux/arch/ppc/xmon/start.c
Previous file: linux/arch/ppc/mm/mem_pieces.c
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Mon Jun 19 17:59:37 2000
- Orig file:
v2.4.0-test1/linux/arch/ppc/mm/mem_pieces.h
- Orig date:
Tue Dec 7 09:32:42 1999
diff -u --recursive --new-file v2.4.0-test1/linux/arch/ppc/mm/mem_pieces.h linux/arch/ppc/mm/mem_pieces.h
@@ -17,8 +17,7 @@
#ifndef __MEM_PIECES_H__
#define __MEM_PIECES_H__
-#include <linux/init.h>
-
+#include <asm/prom.h>
#ifdef __cplusplus
extern "C" {
@@ -34,13 +33,6 @@
struct reg_property regions[MEM_PIECES_MAX];
};
-
-/* Global Variables */
-
-extern char *klimit;
-extern struct mem_pieces phys_avail;
-
-
/* Function Prototypes */
extern void *mem_pieces_find(unsigned int size, unsigned int align);
@@ -50,9 +42,6 @@
unsigned int size);
extern void mem_pieces_coalesce(struct mem_pieces *mp);
extern void mem_pieces_sort(struct mem_pieces *mp);
-
-extern void set_phys_avail(struct mem_pieces *mp);
-
#ifdef __cplusplus
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)