public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* compat_{f,}statfs64.patch
@ 2004-07-27 20:03 Arun Sharma
  0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2004-07-27 20:03 UTC (permalink / raw)
  To: linux-ia64

[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-27 20:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-27 20:03 compat_{f,}statfs64.patch Arun Sharma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox