summaryrefslogtreecommitdiff
path: root/include/asm-arm/processor.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:09:44 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:09:44 -0800
commita67f1b5da2cf8b14395596048c876247b894aa5c (patch)
tree0f125e709fddc4d32579fb267ede0f9c8079ff11 /include/asm-arm/processor.h
parente9e7d7fa16122d7bfa6f87188828baf6080cb02e (diff)
v2.4.8 -> v2.4.8.1
- Rui Sousa: emu10k1 module fixes, remove joystick part. - Alan Cox: driver merges - Andrea Arkangeli: alpha updates - David Woodhouse: up_and_exit -> complete_and_exit - David Miller: sparc and network update - Andrew Morton: update 3c59x driver - Neil Brown: NFS export VFAT, knfsd cleanups, raid fixes - Ben Collins: ieee1394 updates - Paul Mackerras: PPC update - me: make sure we don't lose position bits in "filldir()"
Diffstat (limited to 'include/asm-arm/processor.h')
-rw-r--r--include/asm-arm/processor.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/asm-arm/processor.h b/include/asm-arm/processor.h
index e6b6625cd08a..5fe9f79c8ec7 100644
--- a/include/asm-arm/processor.h
+++ b/include/asm-arm/processor.h
@@ -83,24 +83,16 @@ struct thread_struct {
/*
* 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 */
struct task_struct;