patch-2.4.9 linux/include/asm-arm/processor.h
Next file: linux/include/asm-arm/semaphore.h
Previous file: linux/include/asm-arm/proc-armv/uaccess.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Sun Aug 12 11:14:00 2001
- Orig file:
v2.4.8/linux/include/asm-arm/processor.h
- Orig date:
Thu Apr 12 12:20:31 2001
diff -u --recursive --new-file v2.4.8/linux/include/asm-arm/processor.h linux/include/asm-arm/processor.h
@@ -83,22 +83,14 @@
/*
* Return saved PC of a blocked thread.
*/
-extern __inline__ unsigned long thread_saved_pc(struct thread_struct *t)
+static inline unsigned long thread_saved_pc(struct thread_struct *t)
{
return t->save ? pc_pointer(t->save->pc) : 0;
}
-extern __inline__ unsigned long get_css_fp(struct thread_struct *t)
+static inline unsigned long get_css_fp(struct thread_struct *t)
{
return t->save ? t->save->fp : 0;
-}
-
-asmlinkage void ret_from_sys_call(void) __asm__("ret_from_sys_call");
-
-extern __inline__ void init_thread_css(struct context_save_struct *save)
-{
- *save = INIT_CSS;
- save->pc |= (unsigned long)ret_from_sys_call;
}
/* Forward declaration, a strange C thing */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)