patch-2.4.0-test9 linux/arch/arm/mm/mm-armo.c

Next file: linux/arch/arm/mm/mm-armv.c
Previous file: linux/arch/arm/mm/map.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/arch/arm/mm/mm-armo.c linux/arch/arm/mm/mm-armo.c
@@ -1,9 +1,13 @@
 /*
- * arch/arm/mm/mm-armo.c
+ *  linux/arch/arm/mm/mm-armo.c
  *
- * Page table sludge for older ARM processor architectures.
+ *  Copyright (C) 1998-2000 Russell King
  *
- * Copyright (C) 1998-2000 Russell King
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ *  Page table sludge for older ARM processor architectures.
  */
 #include <linux/sched.h>
 #include <linux/mm.h>
@@ -15,7 +19,7 @@
 #include <asm/page.h>
 #include <asm/arch/memory.h>
 
-#include "map.h"
+#include <asm/mach/map.h>
 
 #define MEMC_TABLE_SIZE (256*sizeof(unsigned long))
 #define PGD_TABLE_SIZE	(PTRS_PER_PGD * BYTES_PER_PTR)
@@ -147,7 +151,7 @@
  * some more work to get it to fit into our separate processor and
  * architecture structure.
  */
-void __init pagetable_init(struct meminfo *mi)
+void __init memtable_init(struct meminfo *mi)
 {
 	pte_t *pte;
 	int i;
@@ -160,6 +164,11 @@
 
 	for (i = 1; i < PTRS_PER_PGD; i++)
 		pgd_val(swapper_pg_dir[i]) = 0;
+}
+
+void __init iotable_init(struct map_desc *io_desc)
+{
+	/* nothing to do */
 }
 
 /*

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