patch-2.4.0-test12 linux/include/asm-arm/processor.h

Next file: linux/include/asm-arm/system.h
Previous file: linux/include/asm-arm/proc-armv/system.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test11/linux/include/asm-arm/processor.h linux/include/asm-arm/processor.h
@@ -36,12 +36,12 @@
 
 #ifdef __KERNEL__
 
-#define NR_DEBUGS	5
+#define EISA_bus 0
+#define MCA_bus 0
 
 #include <asm/atomic.h>
 #include <asm/ptrace.h>
 #include <asm/arch/memory.h>
-#include <asm/arch/processor.h>
 #include <asm/proc/processor.h>
 
 struct debug_info {
@@ -67,18 +67,16 @@
 	EXTRA_THREAD_STRUCT
 };
 
-#define INIT_MMAP \
-{ &init_mm, 0, 0, NULL, PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL }
+#define INIT_MMAP {					\
+	vm_mm:		&init_mm,			\
+	vm_page_prot:	PAGE_SHARED,			\
+	vm_flags:	VM_READ | VM_WRITE | VM_EXEC,	\
+	vm_avl_height:	1,				\
+}
 
-#define INIT_THREAD  {				\
-	ATOMIC_INIT(1),				\
-	0,					\
-	0,					\
-	0,					\
-	{ { { 0, }, }, },			\
-	{ 0, },					\
-	(struct context_save_struct *)0	\
-	EXTRA_THREAD_STRUCT_INIT		\
+#define INIT_THREAD  {					\
+	refcount:	ATOMIC_INIT(1),			\
+	EXTRA_THREAD_STRUCT_INIT			\
 }
 
 /*
@@ -104,7 +102,6 @@
 
 /* Forward declaration, a strange C thing */
 struct task_struct;
-struct mm_struct;
 
 /* Free all resources held by a thread. */
 extern void release_thread(struct task_struct *);

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