Re: [PATCH] PER_CPU [1/4] - PER_CPU-cpu_tlbstate
From: Andrew Morton
Date: Thu Jul 08 2004 - 21:23:58 EST
"Shai Fultheim" <shai@xxxxxxxxxxxx> wrote:
>
> Please find below one out of collection of patched that move NR_CPU array variables to the per-cpu area.
This is an `allmodconfig' build, gcc-3.4:
distcc[19912] ERROR: compile on vmm failed
arch/i386/mm/fault.c: In function `get_segment_eip':
arch/i386/mm/fault.c:110: error: `per_cpu__cpu_gdt_table' undeclared (first use in this function)
arch/i386/mm/fault.c:110: error: (Each undeclared identifier is reported only once
arch/i386/mm/fault.c:110: error: for each function it appears in.)
arch/i386/mm/fault.c:110: warning: type defaults to `int' in declaration of `type name'
arch/i386/mm/fault.c:110: error: invalid type argument of `unary *'
make[1]: *** [arch/i386/mm/fault.o] Error 1
make[1]: *** Waiting for unfinished jobs....
distcc[20015] ERROR: compile on vmm failed
arch/i386/kernel/ioport.c: In function `sys_ioperm':
arch/i386/kernel/ioport.c:86: error: `per_cpu__init_tss' undeclared (first use in this function)
arch/i386/kernel/ioport.c:86: error: (Each undeclared identifier is reported only once
arch/i386/kernel/ioport.c:86: error: for each function it appears in.)
arch/i386/kernel/ioport.c:86: warning: type defaults to `int' in declaration of `type name'
arch/i386/kernel/ioport.c:86: error: invalid type argument of `unary *'
make[1]: *** [arch/i386/kernel/ioport.o] Error 1
make[1]: *** Waiting for unfinished jobs....
distcc[20004] ERROR: compile on vmm failed
arch/i386/kernel/vm86.c: In function `save_v86_state':
arch/i386/kernel/vm86.c:124: error: `per_cpu__init_tss' undeclared (first use in this function)
arch/i386/kernel/vm86.c:124: error: (Each undeclared identifier is reported only once
arch/i386/kernel/vm86.c:124: error: for each function it appears in.)
arch/i386/kernel/vm86.c:124: warning: type defaults to `int' in declaration of `type name'
arch/i386/kernel/vm86.c:124: error: invalid type argument of `unary *'
arch/i386/kernel/vm86.c: In function `do_sys_vm86':
arch/i386/kernel/vm86.c:306: error: `per_cpu__init_tss' undeclared (first use in this function)
arch/i386/kernel/vm86.c:306: warning: type defaults to `int' in declaration of `type name'
arch/i386/kernel/vm86.c:306: error: invalid type argument of `unary *'
make[1]: *** [arch/i386/kernel/vm86.o] Error 1
make: *** [arch/i386/kernel] Error 2
make: *** Waiting for unfinished jobs....
distcc[19929] ERROR: compile on vmm failed
arch/i386/kernel/process.c: In function `exit_thread':
arch/i386/kernel/process.c:301: error: `per_cpu__init_tss' undeclared (first use in this function)
arch/i386/kernel/process.c:301: error: (Each undeclared identifier is reported only once
arch/i386/kernel/process.c:301: error: for each function it appears in.)
arch/i386/kernel/process.c:301: warning: type defaults to `int' in declaration of `type name'
arch/i386/kernel/process.c:301: error: invalid type argument of `unary *'
arch/i386/kernel/process.c: In function `__switch_to':
arch/i386/kernel/process.c:510: error: `per_cpu__init_tss' undeclared (first use in this function)
arch/i386/kernel/process.c:510: warning: type defaults to `int' in declaration of `type name'
arch/i386/kernel/process.c:510: error: invalid type argument of `unary *'
make: *** [arch/i386/mm] Error 2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/