patch-2.3.23 linux/include/asm-arm/procinfo.h

Next file: linux/include/asm-arm/ptrace.h
Previous file: linux/include/asm-arm/processor.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.22/linux/include/asm-arm/procinfo.h linux/include/asm-arm/procinfo.h
@@ -6,7 +6,7 @@
 #ifndef __ASM_PROCINFO_H
 #define __ASM_PROCINFO_H
 
-#ifndef __ASSEMBLER__
+#ifndef __ASSEMBLY__
 
 #include <asm/proc-fns.h>
 
@@ -18,11 +18,15 @@
 /*
  * Note!  struct processor is always defined if we're
  * using MULTI_CPU, otherwise this entry is unused,
- * but still exists.
+ * but still exists.  NOTE! This structure is used
+ * by assembler code!  Check:
+ *  arch/arm/mm/proc-*.S and arch/arm/kernel/head-armv.S
  */
 struct proc_info_list {
 	unsigned int	 cpu_val;
 	unsigned int	 cpu_mask;
+	unsigned long	 __cpu_mmu_flags;	/* used by head-armv.S */
+	unsigned long	 __cpu_flush;		/* used by head-armv.S */
 	const char	 *arch_name;
 	const char	 *elf_name;
 	unsigned int	 elf_hwcap;
@@ -34,7 +38,7 @@
 #endif
 };
 
-#endif
+#endif	/* __ASSEMBLY__ */
 
 #define HWCAP_SWP	1
 #define HWCAP_HALF	2

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