Subject: Re: linux-next: Tree for January 8 (percpu)

From: Randy Dunlap <[email-masked]>
Date: Thu, 08 Jan 2009 09:23:55 -0800

Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20090107:
> 
> Undropped tree:
> 	rr
> 
> Dropped trees (temporarily):
> 	ocfs2 (build problem)
> 	cpu_alloc (build problem)

When CONFIG_SMP=n, both arch/x86/include/asm/percpu.h and
include/asm-generic/percpu.h define both of
read_percpu_ptr() and read_percpu_var().

build-r8079.out:linux-next-20090108/include/asm-generic/percpu.h:124:1: warning: "read_percpu_ptr" redefined
build-r8079.out:linux-next-20090108/arch/x86/include/asm/percpu.h:107:1: warning: this is the location of the previous definition
build-r8079.out:linux-next-20090108/include/asm-generic/percpu.h:120:1: warning: "read_percpu_var" redefined
build-r8079.out:linux-next-20090108/arch/x86/include/asm/percpu.h:106:1: warning: this is the location of the previous definition

-- 
~Randy