patch-2.4.9 linux/include/asm-arm/arch-anakin/vmalloc.h
Next file: linux/include/asm-arm/arch-arc/hardware.h
Previous file: linux/include/asm-arm/arch-anakin/uncompress.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Aug 12 11:14:00 2001
- Orig file:
v2.4.8/linux/include/asm-arm/arch-anakin/vmalloc.h
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.4.8/linux/include/asm-arm/arch-anakin/vmalloc.h linux/include/asm-arm/arch-anakin/vmalloc.h
@@ -0,0 +1,26 @@
+/*
+ * linux/include/asm-arm/arch-anakin/vmalloc.h
+ *
+ * Copyright (C) 2001 Aleph One Ltd. for Acunia N.V.
+ *
+ * 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.
+ *
+ * Changelog:
+ * 09-Apr-2001 TTC Created
+ */
+
+#ifndef __ASM_ARCH_VMALLOC_H
+#define __ASM_ARCH_VMALLOC_H
+
+/*
+ * VMALLOC_ARCH_OFFSET must be set to VMALLOC_OFFSET (check
+ * linux/arch/arm/kernel/traps.c)
+ */
+#define VMALLOC_ARCH_OFFSET (8 * 1024 * 1024)
+#define VMALLOC_VMADDR(a) ((unsigned int) (a))
+#define VMALLOC_START ((VMALLOC_VMADDR(high_memory) + VMALLOC_ARCH_OFFSET) & ~(VMALLOC_ARCH_OFFSET - 1))
+#define VMALLOC_END (PAGE_OFFSET + 0x10000000)
+
+#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)