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

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

diff -u --recursive --new-file v2.3.22/linux/include/asm-arm/processor.h linux/include/asm-arm/processor.h
@@ -32,11 +32,10 @@
 
 #ifdef __KERNEL__
 
-#include <asm/assembler.h> 
-
 #define NR_DEBUGS	5
 
-#include <asm/proc/ptrace.h>
+#include <asm/ptrace.h>
+#include <asm/arch/memory.h>
 #include <asm/arch/processor.h>
 #include <asm/proc/processor.h>
 
@@ -80,7 +79,7 @@
  */
 extern __inline__ unsigned long thread_saved_pc(struct thread_struct *t)
 {
-	return t->save ? t->save->pc & ~PCMASK : 0;
+	return t->save ? pc_pointer(t->save->pc) : 0;
 }
 
 extern __inline__ unsigned long get_css_fp(struct thread_struct *t)

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