]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc/sfp-machine.h
remove ieee80211_wx_{get,set}_auth()
[linux-2.6-omap-h63xx.git] / include / asm-sparc / sfp-machine.h
index b4ca2d94bf084a29975a6da772459ab3471b9239..266a42b8f99fad61d7f907bad23d306b4846846d 100644 (file)
@@ -25,7 +25,6 @@
 #ifndef _SFP_MACHINE_H
 #define _SFP_MACHINE_H
 
-#include <linux/config.h>
    
 #define _FP_W_TYPE_SIZE                32
 #define _FP_W_TYPE             unsigned long
@@ -204,4 +203,10 @@ extern struct task_struct *last_task_used_math;
 #define FP_INHIBIT_RESULTS ((last_task_used_math->thread.fsr >> 23) & _fex)
 #endif
 
+#ifdef CONFIG_SMP
+#define FP_TRAPPING_EXCEPTIONS ((current->thread.fsr >> 23) & 0x1f)
+#else
+#define FP_TRAPPING_EXCEPTIONS ((last_task_used_math->thread.fsr >> 23) & 0x1f)
+#endif
+
 #endif