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

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)