summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/traps.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/include/asm/traps.h')
-rw-r--r--arch/m68k/include/asm/traps.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/traps.h b/arch/m68k/include/asm/traps.h
index 4aff3358fbaf..c7b3989bd4b2 100644
--- a/arch/m68k/include/asm/traps.h
+++ b/arch/m68k/include/asm/traps.h
@@ -11,7 +11,7 @@
#ifndef _M68K_TRAPS_H
#define _M68K_TRAPS_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/linkage.h>
#include <asm/ptrace.h>
@@ -94,7 +94,7 @@ asmlinkage void bad_inthandler(void);
#define VECOFF(vec) ((vec)<<2)
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/* Status register bits */
#define PS_T (0x8000)
@@ -267,6 +267,10 @@ struct frame {
} un;
};
-#endif /* __ASSEMBLY__ */
+#ifdef CONFIG_M68040
+asmlinkage void berr_040cleanup(struct frame *fp);
+#endif
+
+#endif /* __ASSEMBLER__ */
#endif /* _M68K_TRAPS_H */