From: "David S. Miller" <davem@redhat.com>
To: "Wojciech 'Sas' Cieciwa" <cieciwa@alpha.zarz.agh.edu.pl>
Cc: linux-kernel@vger.kernel.org, wesolows@foobazco.org
Subject: Re: [SPARC][patch] sys_ioperm
Date: Tue, 2 Mar 2004 19:46:08 -0800 [thread overview]
Message-ID: <20040302194608.3c0445d6.davem@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.58L.0403021316370.7737@alpha.zarz.agh.edu.pl>
On Tue, 2 Mar 2004 13:24:03 +0100 (CET)
Wojciech 'Sas' Cieciwa <cieciwa@alpha.zarz.agh.edu.pl> wrote:
> I try to build linux-2.6.4-rc1 with cset-20040302_0009 on SPARC.
> And I got error:
>
> In file included from include/linux/unistd.h:9,
> from init/main.c:21:
> include/asm/unistd.h:464: error: conflicting types for `sys_ioperm'
> include/linux/syscalls.h:291: error: previous declaration of `sys_ioperm'
> make[1]: *** [init/main.o] Error 1
> make: *** [init] Error 2
>
> Fixed this (?) by this patch:
We can just remove that line entirely from unistd.h, and that is the
change I have added to my tree.
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/03/02 19:40:14-08:00 davem@nuts.davemloft.net
# [SPARC]: Kill sys_ioperm decl from unistd.h
#
# include/asm-sparc/unistd.h
# 2004/03/02 19:37:09-08:00 davem@nuts.davemloft.net +0 -1
# [SPARC]: Kill sys_ioperm decl from unistd.h
#
diff -Nru a/include/asm-sparc/unistd.h b/include/asm-sparc/unistd.h
--- a/include/asm-sparc/unistd.h Tue Mar 2 19:43:19 2004
+++ b/include/asm-sparc/unistd.h Tue Mar 2 19:43:19 2004
@@ -461,7 +461,6 @@
unsigned long addr, unsigned long len,
unsigned long prot, unsigned long flags,
unsigned long fd, unsigned long pgoff);
-asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int on);
struct sigaction;
asmlinkage long sys_rt_sigaction(int sig,
const struct sigaction __user *act,
prev parent reply other threads:[~2004-03-03 3:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-02 12:24 [SPARC][patch] sys_ioperm Wojciech 'Sas' Cieciwa
2004-03-03 3:46 ` David S. Miller [this message]
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=20040302194608.3c0445d6.davem@redhat.com \
--to=davem@redhat.com \
--cc=cieciwa@alpha.zarz.agh.edu.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=wesolows@foobazco.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