Discussion:
[PATCH 2.6.12-rc1-mm2] x86_64: fix vsyscall.c syntax error
(too old to reply)
Mikael Pettersson
2005-03-24 18:50:41 UTC
Permalink
Compiling 2.6.12-rc1-mm2 on x86_64 with gcc-4.0 fails with:

arch/x86_64/kernel/vsyscall.c:193: error: syntax error before 'vsyscall_sysctl_change'

Fix: repair the syntax error

Signed-off-by: Mikael Pettersson <***@csd.uu.se>

--- linux-2.6.12-rc1-mm2/arch/x86_64/kernel/vsyscall.c.~1~ 2005-03-24 16:33:50.000000000 +0100
+++ linux-2.6.12-rc1-mm2/arch/x86_64/kernel/vsyscall.c 2005-03-24 19:31:40.000000000 +0100
@@ -190,7 +190,7 @@ static ctl_table kernel_table2[] = {
{ .ctl_name = 99, .procname = "vsyscall64",
.data = &sysctl_vsyscall, .maxlen = sizeof(int), .mode = 0644,
.strategy = vsyscall_sysctl_nostrat,
- .proc_handler vsyscall_sysctl_change },
+ .proc_handler = vsyscall_sysctl_change },
{ 0, }
};

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



-------------------------------------------------------------------------------
Achtung: diese Newsgruppe ist eine unidirektional gegatete Mailingliste.
Antworten nur per Mail an die im Reply-To-Header angegebene Adresse.
Fragen zum Gateway -> ***@inka.de.
-------------------------------------------------------------------------------
Andi Kleen
2005-03-28 15:39:03 UTC
Permalink
Mikael Pettersson <***@csd.uu.se> writes:

Can you please cc me on all x86-64 patches?
Post by Mikael Pettersson
arch/x86_64/kernel/vsyscall.c:193: error: syntax error before 'vsyscall_sysctl_change'
Fix: repair the syntax error
Looks ok thanks. I wish gcc folks wouldnt change the language in
each revision like this.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



-------------------------------------------------------------------------------
Achtung: diese Newsgruppe ist eine unidirektional gegatete Mailingliste.
Antworten nur per Mail an die im Reply-To-Header angegebene Adresse.
Fragen zum Gateway -> ***@inka.de.
-------------------------------------------------------------------------------
Loading...