* PATCH: Support strace
@ 2002-10-10 17:23 H. J. Lu
0 siblings, 0 replies; only message in thread
From: H. J. Lu @ 2002-10-10 17:23 UTC (permalink / raw)
To: linux-mips
strace includes <asm/system.h>. gcc doesn't like asmlinkage. This patch
helps strace.
H.J.
--- include/asm-mips/system.h.kernel Sat Oct 5 10:39:23 2002
+++ include/asm-mips/system.h Thu Oct 10 09:47:51 2002
@@ -24,6 +24,8 @@
#include <asm/addrspace.h>
#include <asm/ptrace.h>
+#ifdef __KERNEL__
+
__asm__ (
".macro\t__sti\n\t"
".set\tpush\n\t"
@@ -322,4 +324,6 @@ extern void __die_if_kernel(const char *
#define die_if_kernel(msg, regs) \
__die_if_kernel(msg, regs, __FILE__ ":", __FUNCTION__, __LINE__)
+#endif /* __KERNEL__ */
+
#endif /* _ASM_SYSTEM_H */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-10 17:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-10 17:23 PATCH: Support strace H. J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox