All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guy Martin <gmsoft@gentoo.org>
To: Kyle McMartin <kyle@mcmartin.ca>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] statfs() problem with glibc-2.5
Date: Tue, 20 Feb 2007 18:06:58 +0100	[thread overview]
Message-ID: <20070220180658.ce5ce5ba.gmsoft__32032.9042188407$1416624308$gmane$org@gentoo.org> (raw)
In-Reply-To: <20070219031627.GA28109@athena.road.mcmartin.ca>

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]


Kyle,

Here is the proper patch with Signed-off-by.

Cheers,
  Guy


On Sun, 18 Feb 2007 22:16:27 -0500
Kyle McMartin <kyle@mcmartin.ca> wrote:

> On Sun, Feb 18, 2007 at 10:11:13PM -0500, Carlos O'Donell wrote:
> > >>  #define __NR_Linux_syscalls     298
> > 
> > You also forgot to update the total syscall count.
> > 
> 
> I fixed that one for him. ;-)


-- 
Guy Martin
Gentoo Linux - HPPA port lead

[-- Attachment #2: statfs-syscalls.diff --]
[-- Type: text/x-patch, Size: 1035 bytes --]

Add missing statfs64 and fstatfs64 to parisc.

Signed-off-by: Guy Martion <gmsoft@tuxicoman.be>

diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 5114666..7d665de 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -403,5 +403,7 @@
 	ENTRY_COMP(move_pages)		/* 295 */
 	ENTRY_SAME(getcpu)
 	ENTRY_SAME(epoll_pwait)
+	ENTRY_COMP(statfs64)
+	ENTRY_COMP(fstatfs64)
 	/* Nothing yet */
 
diff --git a/include/asm-parisc/unistd.h b/include/asm-parisc/unistd.h
index 7c1bb8b..5513bdf 100644
--- a/include/asm-parisc/unistd.h
+++ b/include/asm-parisc/unistd.h
@@ -790,8 +790,10 @@
 #define __NR_move_pages		(__NR_Linux + 295)
 #define __NR_getcpu		(__NR_Linux + 296)
 #define __NR_epoll_pwait	(__NR_Linux + 297)
+#define __NR_statfs64		(__NR_Linux + 298)
+#define __NR_fstatfs64		(__NR_Linux + 299)
 
-#define __NR_Linux_syscalls     298
+#define __NR_Linux_syscalls     300
 
 #define HPUX_GATEWAY_ADDR       0xC0000004
 #define LINUX_GATEWAY_ADDR      0x100

[-- Attachment #3: Type: text/plain, Size: 169 bytes --]

_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

  parent reply	other threads:[~2007-02-20 17:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070212102844.f045d760.gmsoft@gentoo.org>
2007-02-12 14:13 ` [parisc-linux] statfs() problem with glibc-2.5 Kyle McMartin
2007-02-12 14:37 ` Guy Martin
     [not found] ` <20070212153731.846e2ad3.gmsoft@gentoo.org>
2007-02-12 16:29   ` Jeff Bailey
2007-02-12 16:48   ` Matthew Wilcox
2007-02-17 16:06   ` Kyle McMartin
     [not found]   ` <20070217160642.GC2880@athena.road.mcmartin.ca>
     [not found]     ` <119aab440702181911t32a25761t8bf1f2306376595d@mail.gmail.com>
2007-02-19  3:16       ` Kyle McMartin
     [not found]       ` <20070219031627.GA28109@athena.road.mcmartin.ca>
2007-02-20 17:06         ` Guy Martin [this message]
2007-02-12  9:28 Guy Martin

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='20070220180658.ce5ce5ba.gmsoft__32032.9042188407$1416624308$gmane$org@gentoo.org' \
    --to=gmsoft@gentoo.org \
    --cc=kyle@mcmartin.ca \
    --cc=parisc-linux@lists.parisc-linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.