From: Andi Kleen <ak@suse.de>
To: Olaf Hering <olh@suse.de>
Cc: netdev@oss.sgi.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] allow CONFIG_NET=n on ppc64
Date: Wed, 29 Sep 2004 22:15:25 +0200 [thread overview]
Message-ID: <20040929201524.GA14615@wotan.suse.de> (raw)
In-Reply-To: <20040929200158.GA16366@suse.de>
On Wed, Sep 29, 2004 at 10:01:58PM +0200, Olaf Hering wrote:
>
> The attached minimal config does not compile on ppc64.
> I was able to boot the resulting binary with this patch.
I already fixed this some time ago, but the patch must have disappeared.
> diff -purNX /suse/olh/kernel/kernel_exclude.txt linux-2.6.9-rc2/arch/ppc64/kernel/misc.S linux-2.6.9-rc2.ppc64/arch/ppc64/kernel/misc.S
> --- linux-2.6.9-rc2/arch/ppc64/kernel/misc.S 2004-09-13 07:33:23.000000000 +0200
> +++ linux-2.6.9-rc2.ppc64/arch/ppc64/kernel/misc.S 2004-09-29 21:00:44.909074755 +0200
> @@ -703,7 +703,11 @@ _GLOBAL(sys_call_table32)
> .llong .compat_sys_statfs
> .llong .compat_sys_fstatfs /* 100 */
> .llong .sys_ni_syscall /* old ioperm syscall */
> +#ifdef CONFIG_NET
> .llong .compat_sys_socketcall
> +#else
> + .llong .sys_ni_syscall /* old ioperm syscall */
> +#endif
Right fix is to declare compat_sys_socketcall as as cond_syscall()
in sys.c
-Andi
next prev parent reply other threads:[~2004-09-29 20:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-29 20:01 [PATCH] allow CONFIG_NET=n on ppc64 Olaf Hering
2004-09-29 20:15 ` Andi Kleen [this message]
2004-10-02 15:30 ` Olaf Hering
2004-10-03 21:59 ` David S. Miller
2004-10-04 18:07 ` HELP NEEDED!!! Pranav
2004-10-04 18:15 ` Jeff Garzik
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=20040929201524.GA14615@wotan.suse.de \
--to=ak@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=olh@suse.de \
/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;
as well as URLs for NNTP newsgroup(s).