From: Arun Sharma <arun.sharma@intel.com>
To: linux-ia64@vger.kernel.org
Subject: compat_{f,}statfs64.patch
Date: Tue, 27 Jul 2004 20:03:24 +0000 [thread overview]
Message-ID: <4106B50C.8070206@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 273 bytes --]
Tony/David,
ia32 emulation code needs to use a wrapper for these two system calls. Please apply.
$ cat t.c
#include <asm/statfs.h>
main()
{
printf("%d\n", sizeof(struct statfs64));
printf("%d\n", sizeof(struct compat_statfs64));
}
$ ./t
120
84
-Arun
[-- Attachment #2: fstatfs.patch --]
[-- Type: text/plain, Size: 618 bytes --]
ia32 emulation needs wrapper for {f}statfs64 syscall.
Signed-off-by: Gordon Jin <gordon.jin@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
--- linux-2.6.7/arch/ia64/ia32/ia32_entry.S 2004-06-23 17:29:15.000000000 +0800
+++ linux-2.6.7/arch/ia64/ia32/ia32_entry.S.new 2004-07-27 13:22:25.611848994 +0800
@@ -476,8 +476,8 @@
data8 compat_clock_gettime /* 265 */
data8 compat_clock_getres
data8 compat_clock_nanosleep
- data8 sys_statfs64
- data8 sys_fstatfs64
+ data8 compat_statfs64
+ data8 compat_fstatfs64
data8 sys_tgkill /* 270 */
data8 compat_sys_utimes
data8 sys32_fadvise64_64
reply other threads:[~2004-07-27 20:03 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=4106B50C.8070206@intel.com \
--to=arun.sharma@intel.com \
--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