aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sparc64/fpumacro.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/fpumacro.h')
-rw-r--r--include/asm-sparc64/fpumacro.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sparc64/fpumacro.h b/include/asm-sparc64/fpumacro.h
index d583e5efd75..cc463fec806 100644
--- a/include/asm-sparc64/fpumacro.h
+++ b/include/asm-sparc64/fpumacro.h
@@ -16,7 +16,7 @@ struct fpustate {
#define FPUSTATE (struct fpustate *)(current_thread_info()->fpregs)
-static __inline__ unsigned long fprs_read(void)
+static inline unsigned long fprs_read(void)
{
unsigned long retval;
@@ -25,7 +25,7 @@ static __inline__ unsigned long fprs_read(void)
return retval;
}
-static __inline__ void fprs_write(unsigned long val)
+static inline void fprs_write(unsigned long val)
{
__asm__ __volatile__("wr %0, 0x0, %%fprs" : : "r" (val));
}