From: mru@users.sourceforge.net (Måns Rullgård)
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Fix cond_syscall macro on Alpha
Date: 12 Apr 2003 18:00:22 +0200 [thread overview]
Message-ID: <yw1x1y07wvs9.fsf@zaphod.guide> (raw)
This patch fixes the cond_syscall macro that was broken in 2.5.67.
The patch is against vanilla 2.5.67.
--- include/asm-alpha/unistd.h~ Mon Apr 7 19:31:08 2003
+++ include/asm-alpha/unistd.h Sat Apr 12 17:55:03 2003
@@ -612,6 +612,6 @@
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
-#define cond_syscall(x) asmlinkage long x(void) __attribute__((weak,alias("sys_ni_syscall")));
+#define cond_syscall(x) asm("\t.weak\t" #x "\n" #x " = sys_ni_syscall");
#endif /* _ALPHA_UNISTD_H */
--
Måns Rullgård
mru@users.sf.net
reply other threads:[~2003-04-12 15:47 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=yw1x1y07wvs9.fsf@zaphod.guide \
--to=mru@users.sourceforge.net \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®