From: "H. J. Lu" <hjl@lucon.org>
To: linux-mips@linux-mips.org
Subject: PATCH: Support strace
Date: Thu, 10 Oct 2002 10:23:17 -0700 [thread overview]
Message-ID: <20021010102317.A20613@lucon.org> (raw)
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 */
reply other threads:[~2002-10-10 17:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021010102317.A20613@lucon.org \
--to=hjl@lucon.org \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox