From: WANG Cong <[EMAIL PROTECTED]>
Date: Sun, 24 Feb 2008 12:09:03 +0800
Subject: [PATCH] Remove the macro get_personality
Remove the macro get_personality, use ->personality instead.
Cc: Ingo Molnar <[EMAIL PROTECTED]>
Cc: Christoph Hellwig <[EMAIL PROTECTED]
Cc: Alexe
From: WANG Cong [EMAIL PROTECTED]
Date: Sun, 24 Feb 2008 12:09:03 +0800
Subject: [PATCH] Remove the macro get_personality
Remove the macro get_personality, use -personality instead.
Cc: Ingo Molnar [EMAIL PROTECTED]
Cc: Christoph Hellwig [EMAIL PROTECTED]
Cc: Alexey Dobriyan [EMAIL PROTECTED
From: Andrew Morton <[EMAIL PROTECTED]>
Subject: Re: [PATCH 00/16] (Resend) Use get_personality()
Date: Sat, 23 Feb 2008 11:16:29 -0800
Message-ID: <[EMAIL PROTECTED]>
> On Sat, 23 Feb 2008 13:37:31 -0500 Christoph Hellwig <[EMAIL PROTECTED]>
> wrote:
>
> > On Sat, Feb 23, 2008 at 12:27:10PM
From: Ingo Molnar <[EMAIL PROTECTED]>
Subject: Re: [PATCH 08/16] x86: use get_personality()
Date: Sat, 23 Feb 2008 11:19:54 +0100
Message-ID: <[EMAIL PROTECTED]>
>
> * Ingo Molnar <[EMAIL PROTECTED]> wrote:
>
> > * WANG Cong <[EMAIL PROTECTED]> wrote:
From: Alexey Dobriyan <[EMAIL PROTECTED]>
Subject: Re: [PATCH 00/16] (Resend) Use get_personality()
Date: Sat, 23 Feb 2008 12:27:10 +0300
Message-ID: <[EMAIL PROTECTED]>
> On Sat, Feb 23, 2008 at 04:59:44PM +0800, WANG Cong wrote:
> > From: Alexey Dobriyan <[EMAIL PRO
From: Alexey Dobriyan <[EMAIL PROTECTED]>
Subject: Re: [PATCH 00/16] (Resend) Use get_personality()
Date: Sat, 23 Feb 2008 11:51:01 +0300
Message-ID: <[EMAIL PROTECTED]>
> On Sat, Feb 23, 2008 at 04:14:03PM +0800, WANG Cong wrote:
> > This patchset makes the macro get_perso
Use get_personality() macro instead of explicit reference
for mn10300 code.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: David Howells <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
---
include/asm-mn10300/page.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --g
Use get_personality() macro instead of explicit reference.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Christoph Hellwig <[EMAIL PROTECTED]>
---
kernel/exec_domain.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/exec_domain.c b/kernel/e
Use get_personality() macro instead of explicit reference
for alpha code.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Richard Henderson <[EMAIL PROTECTED]>
---
arch/alpha/kernel/osf_sys.c |6 +++---
include/asm-alpha/processor.h |4 ++--
2 files changed, 5 inse
Use get_personality() macro instead of explicit reference
for frv code.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: David Howells <[EMAIL PROTECTED]>
---
include/asm-frv/page.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-frv/page.h b
Use get_personality() macro instead of explicit reference
for mips code.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Ralf Baechle <[EMAIL PROTECTED]>
---
arch/mips/kernel/linux32.c |4 ++--
arch/mips/kernel/process.c |4 ++--
include/asm-mips/elf.h |2 +-
incl
Use get_personality() macro instead of explicit reference
for ia64 code.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Tony Luck <[EMAIL PROTECTED]>
---
arch/ia64/ia32/sys_ia32.c |2 +-
arch/ia64/mm/init.c |2 +-
include/asm-ia64/fcntl.h |2 +-
include/asm-
Use get_personality() macro instead of explicit reference
for s390 code.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
---
arch/s390/kernel/binfmt_elf32.c |2 +-
arch/s390/kernel/sys_s390.c |4 ++--
arch/s390/mm/mmap.c
Use get_personality() macro instead of explicit reference
for x86 code.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Ingo Molnar <[EMAIL PROTECTED]>
---
arch/x86/ia32/sys_ia32.c |6 +++---
arch/x86/kernel/process_32.c |2 +-
arch/x86/kernel/process_64.c |2
Use get_personality() macro instead of explicit reference for
uml code.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Jeff Dike <[EMAIL PROTECTED]>
---
arch/um/kernel/process.c |2 +-
arch/um/sys-x86_64/syscalls.c |2 +-
include/asm-um/vm-flags-i386.h |2
Use get_personality() macro and other two tiny improvements.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: David Miller <[EMAIL PROTECTED]>
Cc: William L. Irwin <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
---
arch/sparc/kernel/signal.c |2 +-
arch/sparc64/kernel/
Use get_personality() macro instead of explicit reference
for arm code.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Russell King <[EMAIL PROTECTED]>
---
arch/arm/kernel/traps.c |4 ++--
include/asm-arm/namei.h |2 +-
include/asm-arm/processor.h |4 ++--
3 f
Use get_personality() macro instead of explicit reference
for parisc code.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Kyle McMartin <[EMAIL PROTECTED]>
Cc: Matthew Wilcox <[EMAIL PROTECTED]>
---
arch/parisc/kernel/sys_parisc.c |4 ++--
1 files changed, 2 insertio
Use get_personality() macro instead of explicit reference.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Alexander Viro <[EMAIL PROTECTED]>
---
fs/binfmt_elf.c |6 +++---
fs/compat.c |6 +++---
fs/select.c |6 +++---
3 files changed, 9 insertions(+), 9 deleti
Use get_personality() macro instead of explicit reference
for powerpc code.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Christoph Hellwig <[EMAIL PROTECTED]>
Cc: Paul Mackerras <[EMAIL PROTECTED]>
---
arch/powerpc/kernel/syscalls.c |4 ++--
arch/powerpc/mm/mma
Use get_personality() macro instead of explicit reference
for mm/ code.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Christoph Hellwig <[EMAIL PROTECTED]>
Cc: Christoph Lameter <[EMAIL PROTECTED]>
---
mm/mmap.c |2 +-
mm/mprotect.c |2 +-
mm/nommu.c|
This patch makes the macro get_personality function-like.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Christoph Hellwig <[EMAIL PROTECTED]>
Cc: Bryan Wu <[EMAIL PROTECTED]>
Cc: David Howells <[EMAIL PROTECTED]>
---
arch/blackfin/kernel/signal.c |2 +-
This patchset makes the macro get_personality function alike
and teaches code to use get_personality() instead of explicit
reference.
[I am sorry if you've received multiple copied of this, since
my git-send-email doesn't work well. ]
Signed-off-by: WANG Cong <[EMAIL PROTEC
This patchset makes the macro get_personality function alike
and teaches code to use get_personality() instead of explicit
reference.
[I am sorry if you've received multiple copied of this, since
my git-send-email doesn't work well. ]
Signed-off-by: WANG Cong [EMAIL PROTECTED
This patch makes the macro get_personality function-like.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Christoph Hellwig [EMAIL PROTECTED]
Cc: Bryan Wu [EMAIL PROTECTED]
Cc: David Howells [EMAIL PROTECTED]
---
arch/blackfin/kernel/signal.c |2 +-
arch/frv/kernel/signal.c |4
Use get_personality() macro instead of explicit reference
for mm/ code.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Christoph Hellwig [EMAIL PROTECTED]
Cc: Christoph Lameter [EMAIL PROTECTED]
---
mm/mmap.c |2 +-
mm/mprotect.c |2 +-
mm/nommu.c|4 ++--
3 files changed, 4
Use get_personality() macro instead of explicit reference.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Alexander Viro [EMAIL PROTECTED]
---
fs/binfmt_elf.c |6 +++---
fs/compat.c |6 +++---
fs/select.c |6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff
Use get_personality() macro instead of explicit reference
for powerpc code.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Christoph Hellwig [EMAIL PROTECTED]
Cc: Paul Mackerras [EMAIL PROTECTED]
---
arch/powerpc/kernel/syscalls.c |4 ++--
arch/powerpc/mm/mmap.c |2 +-
include
Use get_personality() macro instead of explicit reference
for parisc code.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Kyle McMartin [EMAIL PROTECTED]
Cc: Matthew Wilcox [EMAIL PROTECTED]
---
arch/parisc/kernel/sys_parisc.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff
Use get_personality() macro and other two tiny improvements.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: David Miller [EMAIL PROTECTED]
Cc: William L. Irwin [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
---
arch/sparc/kernel/signal.c |2 +-
arch/sparc64/kernel/signal32.c |2 +-
arch
Use get_personality() macro instead of explicit reference
for arm code.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Russell King [EMAIL PROTECTED]
---
arch/arm/kernel/traps.c |4 ++--
include/asm-arm/namei.h |2 +-
include/asm-arm/processor.h |4 ++--
3 files changed, 5
Use get_personality() macro instead of explicit reference
for x86 code.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Ingo Molnar [EMAIL PROTECTED]
---
arch/x86/ia32/sys_ia32.c |6 +++---
arch/x86/kernel/process_32.c |2 +-
arch/x86/kernel/process_64.c |2 +-
arch/x86/kernel
Use get_personality() macro instead of explicit reference for
uml code.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Jeff Dike [EMAIL PROTECTED]
---
arch/um/kernel/process.c |2 +-
arch/um/sys-x86_64/syscalls.c |2 +-
include/asm-um/vm-flags-i386.h |2 +-
3 files changed, 3
Use get_personality() macro instead of explicit reference
for s390 code.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
---
arch/s390/kernel/binfmt_elf32.c |2 +-
arch/s390/kernel/sys_s390.c |4 ++--
arch/s390/mm/mmap.c |2
Use get_personality() macro instead of explicit reference
for mips code.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Ralf Baechle [EMAIL PROTECTED]
---
arch/mips/kernel/linux32.c |4 ++--
arch/mips/kernel/process.c |4 ++--
include/asm-mips/elf.h |2 +-
include/asm-mips
Use get_personality() macro instead of explicit reference
for ia64 code.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Tony Luck [EMAIL PROTECTED]
---
arch/ia64/ia32/sys_ia32.c |2 +-
arch/ia64/mm/init.c |2 +-
include/asm-ia64/fcntl.h |2 +-
include/asm-ia64/namei.h |2
Use get_personality() macro instead of explicit reference
for alpha code.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Richard Henderson [EMAIL PROTECTED]
---
arch/alpha/kernel/osf_sys.c |6 +++---
include/asm-alpha/processor.h |4 ++--
2 files changed, 5 insertions(+), 5 deletions
Use get_personality() macro instead of explicit reference
for frv code.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: David Howells [EMAIL PROTECTED]
---
include/asm-frv/page.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-frv/page.h b/include/asm-frv
Use get_personality() macro instead of explicit reference
for mn10300 code.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: David Howells [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
---
include/asm-mn10300/page.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm
Use get_personality() macro instead of explicit reference.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Christoph Hellwig [EMAIL PROTECTED]
---
kernel/exec_domain.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/exec_domain.c b/kernel/exec_domain.c
index
From: Alexey Dobriyan [EMAIL PROTECTED]
Subject: Re: [PATCH 00/16] (Resend) Use get_personality()
Date: Sat, 23 Feb 2008 11:51:01 +0300
Message-ID: [EMAIL PROTECTED]
On Sat, Feb 23, 2008 at 04:14:03PM +0800, WANG Cong wrote:
This patchset makes the macro get_personality function alike
From: Alexey Dobriyan [EMAIL PROTECTED]
Subject: Re: [PATCH 00/16] (Resend) Use get_personality()
Date: Sat, 23 Feb 2008 12:27:10 +0300
Message-ID: [EMAIL PROTECTED]
On Sat, Feb 23, 2008 at 04:59:44PM +0800, WANG Cong wrote:
From: Alexey Dobriyan [EMAIL PROTECTED]
Subject: Re: [PATCH 00/16
From: Ingo Molnar [EMAIL PROTECTED]
Subject: Re: [PATCH 08/16] x86: use get_personality()
Date: Sat, 23 Feb 2008 11:19:54 +0100
Message-ID: [EMAIL PROTECTED]
* Ingo Molnar [EMAIL PROTECTED] wrote:
* WANG Cong [EMAIL PROTECTED] wrote:
Use get_personality() macro instead of explicit
From: Andrew Morton [EMAIL PROTECTED]
Subject: Re: [PATCH 00/16] (Resend) Use get_personality()
Date: Sat, 23 Feb 2008 11:16:29 -0800
Message-ID: [EMAIL PROTECTED]
On Sat, 23 Feb 2008 13:37:31 -0500 Christoph Hellwig [EMAIL PROTECTED]
wrote:
On Sat, Feb 23, 2008 at 12:27:10PM +0300, Alexey
From: Jeff Dike <[EMAIL PROTECTED]>
Subject: Re: [PATCH 09/16] um: use get_personality()
Date: Wed, 20 Feb 2008 11:27:34 -0500
Message-ID: <[EMAIL PROTECTED]>
> On Wed, Feb 20, 2008 at 07:19:13PM +0800, WANG Cong wrote:
> > Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
&
From: Jeff Dike [EMAIL PROTECTED]
Subject: Re: [PATCH 09/16] um: use get_personality()
Date: Wed, 20 Feb 2008 11:27:34 -0500
Message-ID: [EMAIL PROTECTED]
On Wed, Feb 20, 2008 at 07:19:13PM +0800, WANG Cong wrote:
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Looks good - you should add some
Also suggested by Herbert Xu, using workqueue is better than timer
for net/xfrm/xfrm_state.c, so replace them with delayed_work.
Note that, this patch is not fully tested, just compile and
run as a whole on an Intel Core Duo matchine. So should be
in -mm first.
Signed-off-by: WANG Cong <[EM
As suggested by Herbert, using workqueue is better than timer
for net/xfrm/xfrm_policy.c, so replace them with delayed_work.
Note that, this patch is not fully tested, just compile and
run as a whole on an Intel Core Duo matchine. So should be
in -mm first.
Signed-off-by: WANG Cong <[EM
From: Andrew Morton <[EMAIL PROTECTED]>
Subject: Re: [Patch] Fix shadowed variables in fs/binfmt_elf.c
Date: Fri, 15 Feb 2008 12:34:59 -0800
Message-ID: <[EMAIL PROTECTED]>
> On Fri, 15 Feb 2008 21:58:02 +0800 (CST)
> WANG Cong <[EMAIL PROTECTED]> wrote:
>
> &
From: Andrew Morton [EMAIL PROTECTED]
Subject: Re: [Patch] Fix shadowed variables in fs/binfmt_elf.c
Date: Fri, 15 Feb 2008 12:34:59 -0800
Message-ID: [EMAIL PROTECTED]
On Fri, 15 Feb 2008 21:58:02 +0800 (CST)
WANG Cong [EMAIL PROTECTED] wrote:
Fix these sparse warings:
fs/binfmt_elf.c
Also suggested by Herbert Xu, using workqueue is better than timer
for net/xfrm/xfrm_state.c, so replace them with delayed_work.
Note that, this patch is not fully tested, just compile and
run as a whole on an Intel Core Duo matchine. So should be
in -mm first.
Signed-off-by: WANG Cong [EMAIL
As suggested by Herbert, using workqueue is better than timer
for net/xfrm/xfrm_policy.c, so replace them with delayed_work.
Note that, this patch is not fully tested, just compile and
run as a whole on an Intel Core Duo matchine. So should be
in -mm first.
Signed-off-by: WANG Cong [EMAIL
Make some small improvements for arch/um/kernel/um_arch.c.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Jeff Dike <[EMAIL PROTECTED]>
---
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
index a6c1dd1..56deed6 100644
--- a/arch/um/kernel/um_arch.c
+++ b/ar
Fix these sparse warings:
fs/binfmt_elf.c:1749:29: warning: symbol 'tmp' shadows an earlier one
fs/binfmt_elf.c:1734:28: originally declared here
fs/binfmt_elf.c:2009:26: warning: symbol 'vma' shadows an earlier one
fs/binfmt_elf.c:1892:24: originally declared here
Signed-off-by: WANG Cong
Fix sparse warnings like this:
kernel/posix-cpu-timers.c:1090:25: warning: symbol 't' shadows an earlier one
kernel/posix-cpu-timers.c:1058:21: originally declared here
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Thomas Gleixner <[EMAIL PROTECTED]>
---
diff --git a/kern
Fix sparse warnings like this:
kernel/posix-cpu-timers.c:1090:25: warning: symbol 't' shadows an earlier one
kernel/posix-cpu-timers.c:1058:21: originally declared here
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Thomas Gleixner [EMAIL PROTECTED]
---
diff --git a/kernel/posix-cpu-timers.c b
Fix these sparse warings:
fs/binfmt_elf.c:1749:29: warning: symbol 'tmp' shadows an earlier one
fs/binfmt_elf.c:1734:28: originally declared here
fs/binfmt_elf.c:2009:26: warning: symbol 'vma' shadows an earlier one
fs/binfmt_elf.c:1892:24: originally declared here
Signed-off-by: WANG Cong
Make some small improvements for arch/um/kernel/um_arch.c.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Jeff Dike [EMAIL PROTECTED]
---
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
index a6c1dd1..56deed6 100644
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
Fix a missed conversion specifier of a printk in
arch/um/kernel/initrd.c.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
Cc: Jeff Dike <[EMAIL PROTECTED]>
---
Index: linux/arch/um/kernel/initrd.c
===
--- linux.orig/ar
Fix a shadowed variable in arch/um/kernel/mem.c,
since there is a global variable has the same name.
Cc: Jeff Dike <[EMAIL PROTECTED]>
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
---
Index: linux/arch/um/
Fix a shadowed variable in arch/um/kernel/mem.c,
since there is a global variable has the same name.
Cc: Jeff Dike [EMAIL PROTECTED]
Signed-off-by: WANG Cong [EMAIL PROTECTED]
---
Index: linux/arch/um/kernel/mem.c
Fix a missed conversion specifier of a printk in
arch/um/kernel/initrd.c.
Signed-off-by: WANG Cong [EMAIL PROTECTED]
Cc: Jeff Dike [EMAIL PROTECTED]
---
Index: linux/arch/um/kernel/initrd.c
===
--- linux.orig/arch/um/kernel
On Thu, Jan 31, 2008 at 07:38:53PM +0100, Sam Ravnborg wrote:
>Hi WANG.
>
>On Fri, Feb 01, 2008 at 01:25:17AM +0800, WANG Cong wrote:
>>
>> This patch fix this mismatch warning from mm:
>>
>> WARNING: vmlinux.o(.meminit.text+0x37f): Section mismatch i
On Thu, Jan 31, 2008 at 07:38:53PM +0100, Sam Ravnborg wrote:
Hi WANG.
On Fri, Feb 01, 2008 at 01:25:17AM +0800, WANG Cong wrote:
This patch fix this mismatch warning from mm:
WARNING: vmlinux.o(.meminit.text+0x37f): Section mismatch in reference from
the function free_area_init_core
On Thu, Jan 31, 2008 at 02:08:31PM -0800, Christoph Lameter wrote:
>On Thu, 31 Jan 2008, WANG Cong wrote:
>
>> index 6ce9f3a..4ebbe15 100644
>> --- a/include/asm-generic/tlb.h
>> +++ b/include/asm-generic/tlb.h
>> @@ -16,6 +16,7 @@
>> #include
>> #incl
This patch fix this mismatch warning from mm:
WARNING: vmlinux.o(.meminit.text+0x37f): Section mismatch in reference from the
function free_area_init_core() to the function .init.text:setup_usemap()
modpost: Found 1 section mismatch(es).
Cc: Sam Ravnborg <[EMAIL PROTECTED]>
Signed-off-by
On Thu, Jan 31, 2008 at 05:15:23PM +0100, Ingo Molnar wrote:
>
>* Adrian Bunk <[EMAIL PROTECTED]> wrote:
>
>> On Thu, Jan 31, 2008 at 05:00:33PM +0100, Ingo Molnar wrote:
>> >
>> > * Adrian Bunk <[EMAIL PROTECTED]> wrote:
>> >
>> > > You tested x86 but broke more than half a dozen other
/skas/syscall.c:33: error: for each function it appears in.)
make[2]: *** [arch/um/kernel/skas/syscall.o] Error 1
make[1]: *** [arch/um/kernel/skas] Error 2
make: *** [arch/um/kernel] Error 2
Cc: Jeff Dike <[EMAIL PROTECTED]>
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
---
diff --g
This patch fixed the following build error in current -git tree.
arch/um/kernel/config.c:10: error: expected declaration specifiers or '...'
before '.' token
...
Cc: Jeff Dike <[EMAIL PROTECTED]>
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
---
diff --git a/arch/um/include/init
:91: error: implicit declaration of function
'check_pgt_cache'
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
Cc: Ingo Molnar <[EMAIL PROTECTED]>
Cc: Christoph Lameter <[EMAIL PROTECTED]>
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
---
diff --git a/include/a
:91: error: implicit declaration of function
'check_pgt_cache'
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
Cc: Ingo Molnar [EMAIL PROTECTED]
Cc: Christoph Lameter [EMAIL PROTECTED]
Signed-off-by: WANG Cong [EMAIL PROTECTED]
---
diff --git a/include/asm-generic/tlb.h b
This patch fixed the following build error in current -git tree.
arch/um/kernel/config.c:10: error: expected declaration specifiers or '...'
before '.' token
...
Cc: Jeff Dike [EMAIL PROTECTED]
Signed-off-by: WANG Cong [EMAIL PROTECTED]
---
diff --git a/arch/um/include/init.h b/arch/um
/skas/syscall.c:33: error: for each function it appears in.)
make[2]: *** [arch/um/kernel/skas/syscall.o] Error 1
make[1]: *** [arch/um/kernel/skas] Error 2
make: *** [arch/um/kernel] Error 2
Cc: Jeff Dike [EMAIL PROTECTED]
Signed-off-by: WANG Cong [EMAIL PROTECTED]
---
diff --git a/arch/um/include
On Thu, Jan 31, 2008 at 05:15:23PM +0100, Ingo Molnar wrote:
* Adrian Bunk [EMAIL PROTECTED] wrote:
On Thu, Jan 31, 2008 at 05:00:33PM +0100, Ingo Molnar wrote:
* Adrian Bunk [EMAIL PROTECTED] wrote:
You tested x86 but broke more than half a dozen other archtectures,
with at
This patch fix this mismatch warning from mm:
WARNING: vmlinux.o(.meminit.text+0x37f): Section mismatch in reference from the
function free_area_init_core() to the function .init.text:setup_usemap()
modpost: Found 1 section mismatch(es).
Cc: Sam Ravnborg [EMAIL PROTECTED]
Signed-off-by: WANG
On Thu, Jan 31, 2008 at 02:08:31PM -0800, Christoph Lameter wrote:
On Thu, 31 Jan 2008, WANG Cong wrote:
index 6ce9f3a..4ebbe15 100644
--- a/include/asm-generic/tlb.h
+++ b/include/asm-generic/tlb.h
@@ -16,6 +16,7 @@
#include linux/swap.h
#include linux/quicklist.h
#include asm
aration too.
>Did you try that out?
Yes, it works.
Here's the updated patch, and I dropped the drivers/char/applicom.c
part as Jiri Slaby has better fix.
--->
Fix defined-but-not-used warnings from files under drivers/,
such as:
drivers/video/aty/atyfb_base.c:2713: warning: ‘aty_
On Sun, Jan 27, 2008 at 10:21:12AM +0100, Jiri Slaby wrote:
>On 01/27/2008 10:08 AM, Jiri Slaby wrote:
>>On 01/27/2008 05:15 AM, WANG Cong wrote:
>>>Fix defined-but-not-used warnings from files under drivers/,
>>>such as:
>>>
>>>drivers/char/appli
>
>No, that will fix the build error, but die when linking :(
>
>I'll work on a real fix for this now...
>
Sorry.
I just compiled it since the building process was stopped
by another error.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
No, that will fix the build error, but die when linking :(
I'll work on a real fix for this now...
Sorry.
I just compiled it since the building process was stopped
by another error.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL
On Sun, Jan 27, 2008 at 10:21:12AM +0100, Jiri Slaby wrote:
On 01/27/2008 10:08 AM, Jiri Slaby wrote:
On 01/27/2008 05:15 AM, WANG Cong wrote:
Fix defined-but-not-used warnings from files under drivers/,
such as:
drivers/char/applicom.c:68: warning: ‘applicom_pci_tbl’ defined but
not used
: ‘aty_resume_chip’ defined but not
used
Compile tests passed.
Cc: Jeff Garzik [EMAIL PROTECTED]
Cc: Greg KH [EMAIL PROTECTED]
Cc: Sam Ravnborg [EMAIL PROTECTED]
Cc: Jiri Slaby [EMAIL PROTECTED]
Signed-off-by: WANG Cong [EMAIL PROTECTED]
---
diff --git a/drivers/char/synclink.c b/drivers/char
68: warning: ‘applicom_pci_tbl’ defined but not used
Compile tests passed.
Cc: Jeff Garzik <[EMAIL PROTECTED]>
Cc: Greg KH <[EMAIL PROTECTED]>
Cc: Sam Ravnborg <[EMAIL PROTECTED]>
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
---
diff --git a/drivers/char/applicom.c b/driv
On Sat, Jan 26, 2008 at 08:17:17PM +0100, Sam Ravnborg wrote:
>On Sat, Jan 26, 2008 at 04:55:58AM -0500, Jeff Garzik wrote:
>> WANG Cong wrote:
>> >diff --git a/drivers/video/kyro/fbdev.c b/drivers/video/kyro/fbdev.c
>> >index acb9370..437ebd0 100644
>> >--- a/
On Sat, Jan 26, 2008 at 12:45:14PM +0200, Adrian Bunk wrote:
>On Sat, Jan 26, 2008 at 06:38:45PM +0800, WANG Cong wrote:
>>
>> Hi, Sam!
>>
>> When I built the latest linus tree, I got this error:
>>
>> ...
>> CC sound/oss/msnd.o
>&
Hi, Sam!
When I built the latest linus tree, I got this error:
...
CC sound/oss/msnd.o
make[2]: *** No rule to make target `/etc/sound/msndperm.bin', needed by
`sound/oss/msndperm.c'. Stop.
make[1]: *** [sound/oss] Error 2
make: *** [sound] Error 2
My .config is just the one I sent to
>
>Looking a bit closer the above is rubbish.
>We have:
>#if defined(MODULE) || defined(CONFIG_HOTPLUG)
>#define __devexit_p(x) x
>#else
>#define __devexit_p(x) NULL
>
>so the pointer to the function is used in
>both cases.
I think in the latter case, 'x' is not used, just
as gcc told me. ;)
>
On Sat, Jan 26, 2008 at 04:55:58AM -0500, Jeff Garzik wrote:
>WANG Cong wrote:
>>diff --git a/drivers/video/kyro/fbdev.c b/drivers/video/kyro/fbdev.c
>>index acb9370..437ebd0 100644
>>--- a/drivers/video/kyro/fbdev.c
>>+++ b/drivers/video/kyro/fbdev.c
>>@@
On Sat, Jan 26, 2008 at 10:57:23AM +0100, Sam Ravnborg wrote:
>Hi WANG.
>On Sat, Jan 26, 2008 at 05:30:07PM +0800, WANG Cong wrote:
>>
>> Fix two kind of defined-but-not-used warnings.
>>
>> One is due to defination of MODULE_DEVICE_TABLE, the
>> other is due
Fix two kind of defined-but-not-used warnings.
One is due to defination of MODULE_DEVICE_TABLE, the
other is due to __devexit_p. The solution is just to
add proper directives to protect those usages.
Compile tests passed.
Cc: Greg KH <[EMAIL PROTECTED]>
Signed-off-by: WANG Cong &
>
Here's one possible fix. Please review.
Signed-off-by: WANG Cong <[EMAIL PROTECTED]>
---
Index: linux-2.6/include/linux/genhd.h
===
--- linux-2.6.orig/include/linux/genhd.h
+++ linux-2.6/include/linux/genhd.h
@@ -
On Fri, Jan 25, 2008 at 03:24:13PM -0800, Jeremy Fitzhardinge wrote:
Greg KH wrote:
Ah, sorry, I missed that note :(
thanks,
greg 'time to get that make randconfig system up and working' k-h
Here's a config that fails.
Here's one possible fix. Please review.
Signed-off-by: WANG Cong
On Sat, Jan 26, 2008 at 04:55:58AM -0500, Jeff Garzik wrote:
WANG Cong wrote:
diff --git a/drivers/video/kyro/fbdev.c b/drivers/video/kyro/fbdev.c
index acb9370..437ebd0 100644
--- a/drivers/video/kyro/fbdev.c
+++ b/drivers/video/kyro/fbdev.c
@@ -90,7 +90,9 @@ static int nomtrr __devinitdata = 0
Fix two kind of defined-but-not-used warnings.
One is due to defination of MODULE_DEVICE_TABLE, the
other is due to __devexit_p. The solution is just to
add proper directives to protect those usages.
Compile tests passed.
Cc: Greg KH [EMAIL PROTECTED]
Signed-off-by: WANG Cong [EMAIL PROTECTED
Looking a bit closer the above is rubbish.
We have:
#if defined(MODULE) || defined(CONFIG_HOTPLUG)
#define __devexit_p(x) x
#else
#define __devexit_p(x) NULL
so the pointer to the function is used in
both cases.
I think in the latter case, 'x' is not used, just
as gcc told me. ;)
Could you
Hi, Sam!
When I built the latest linus tree, I got this error:
...
CC sound/oss/msnd.o
make[2]: *** No rule to make target `/etc/sound/msndperm.bin', needed by
`sound/oss/msndperm.c'. Stop.
make[1]: *** [sound/oss] Error 2
make: *** [sound] Error 2
My .config is just the one I sent to
On Sat, Jan 26, 2008 at 10:57:23AM +0100, Sam Ravnborg wrote:
Hi WANG.
On Sat, Jan 26, 2008 at 05:30:07PM +0800, WANG Cong wrote:
Fix two kind of defined-but-not-used warnings.
One is due to defination of MODULE_DEVICE_TABLE, the
other is due to __devexit_p. The solution is just to
add
On Sat, Jan 26, 2008 at 12:45:14PM +0200, Adrian Bunk wrote:
On Sat, Jan 26, 2008 at 06:38:45PM +0800, WANG Cong wrote:
Hi, Sam!
When I built the latest linus tree, I got this error:
...
CC sound/oss/msnd.o
make[2]: *** No rule to make target `/etc/sound/msndperm.bin', needed
On Sat, Jan 26, 2008 at 08:17:17PM +0100, Sam Ravnborg wrote:
On Sat, Jan 26, 2008 at 04:55:58AM -0500, Jeff Garzik wrote:
WANG Cong wrote:
diff --git a/drivers/video/kyro/fbdev.c b/drivers/video/kyro/fbdev.c
index acb9370..437ebd0 100644
--- a/drivers/video/kyro/fbdev.c
+++ b/drivers/video
On Tue, Jan 22, 2008 at 12:20:12PM -0800, H. Peter Anvin wrote:
>Pavel Machek wrote:
>>Hi!
>>
>>Not sure if this is worth fixing, or if I should just delete those
>>comments...? (Or does someone want to do that? ;-).
>> Pavel
>
1 - 100 of 477 matches
Mail list logo