patch-2.3.25 linux/arch/arm/mm/mm-footbridge.c

Next file: linux/arch/arm/mm/mm-nexuspci.c
Previous file: linux/arch/arm/mm/mm-ebsa110.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.24/linux/arch/arm/mm/mm-footbridge.c linux/arch/arm/mm/mm-footbridge.c
@@ -17,6 +17,8 @@
 
 #include "map.h"
 
+#define SIZE(x) (sizeof(x) / sizeof(x[0]))
+
 /*
  * The first entry allows us to fiddle with the EEPROM from user-space.
  *  This entry will go away in time, once the fmu32 can mmap() the
@@ -89,17 +91,9 @@
 
 #endif
 
-struct mem_desc mem_desc[] __initdata = {
-	0, 0
-};
-
-unsigned int __initdata mem_desc_size = 0;
-
 struct map_desc io_desc[] __initdata = {
 	MAPPING
 };
-
-#define SIZE(x) (sizeof(x) / sizeof(x[0]))
 
 unsigned int __initdata io_desc_size = SIZE(io_desc);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)