patch-2.4.25 linux-2.4.25/include/asm-m68k/processor.h
Next file: linux-2.4.25/include/asm-m68k/sbus.h
Previous file: linux-2.4.25/include/asm-m68k/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/include/asm-m68k/processor.h
- Orig date:
2003-11-28 10:26:21.000000000 -0800
diff -urN linux-2.4.24/include/asm-m68k/processor.h linux-2.4.25/include/asm-m68k/processor.h
@@ -18,14 +18,16 @@
#include <asm/fpu.h>
#include <asm/ptrace.h>
-extern inline unsigned long rdusp(void) {
- unsigned long usp;
+static inline unsigned long rdusp(void)
+{
+ unsigned long usp;
__asm__ __volatile__("move %/usp,%0" : "=a" (usp));
return usp;
}
-extern inline void wrusp(unsigned long usp) {
+static inline void wrusp(unsigned long usp)
+{
__asm__ __volatile__("move %0,%/usp" : : "a" (usp));
}
@@ -120,7 +122,7 @@
/*
* 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)
{
extern void scheduling_functions_start_here(void);
extern void scheduling_functions_end_here(void);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)