From a67f1b5da2cf8b14395596048c876247b894aa5c Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 4 Feb 2002 20:09:44 -0800 Subject: 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()" --- include/asm-arm/processor.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'include/asm-arm/processor.h') 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; -- cgit v1.2.3