From: jes@trained-monkey.org (Jes Sorensen)
To: linux-ia64@vger.kernel.org
Subject: [patch] 2.6.12-rc4-mm1 missing ia64_sal_oemcall_reentrant
Date: Thu, 12 May 2005 11:47:23 +0000 [thread overview]
Message-ID: <17027.16971.18411.788080@jaguar.mkp.net> (raw)
Hi,
The following patch adds the missing ia64_sal_oemcall_reentrant function
so 2.6.12-rc4-mm1 builds and boots on the SN2 again.
Cheers,
Jes
Add missing ia64_sal_oemcall_reentrant function as per the prototype
found in include/asm-ia64/sal.h.
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
--- linux-2.6.12-rc4-mm1/arch/ia64/kernel/sal.c~ 2005-05-12 04:06:48 -07:00
+++ linux-2.6.12-rc4-mm1/arch/ia64/kernel/sal.c 2005-05-12 04:27:19 -07:00
@@ -285,3 +285,15 @@
arg7);
return 0;
}
+
+int
+ia64_sal_oemcall_reentrant(struct ia64_sal_retval *isrvp, u64 oemfunc,
+ u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5,
+ u64 arg6, u64 arg7)
+{
+ if (oemfunc < IA64_SAL_OEMFUNC_MIN || oemfunc > IA64_SAL_OEMFUNC_MAX)
+ return -1;
+ SAL_CALL_REENTRANT(*isrvp, oemfunc, arg1, arg2, arg3, arg4,
+ arg5, arg6, arg7);
+ return 0;
+}
next reply other threads:[~2005-05-12 11:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-12 11:47 Jes Sorensen [this message]
2005-05-12 16:59 ` [patch] 2.6.12-rc4-mm1 missing ia64_sal_oemcall_reentrant Greg Edwards
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=17027.16971.18411.788080@jaguar.mkp.net \
--to=jes@trained-monkey.org \
--cc=linux-ia64@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