]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Rename global percpu symbol dr7 to cpu_dr7
authorTejun Heo <tj@kernel.org>
Wed, 25 Nov 2009 13:24:44 +0000 (22:24 +0900)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Nov 2009 13:30:04 +0000 (14:30 +0100)
commit4cac8ab26d0ff0a60e4f424f64d5871054a10422
treea2fa63186bc43ab79b200468bf4c5d7117f92597
parentb59be9eff22a6af2c16cc14ab54bbf75296de4e0
x86: Rename global percpu symbol dr7 to cpu_dr7

Percpu symbols now occupy the same namespace as other global
symbols and as such short global symbols without subsystem
prefix tend to collide with local variables.  dr7 percpu
variable used by x86 was hit by this. Rename it to cpu_dr7.

The rename also makes it more consistent with its fellow
cpu_debugreg percpu variable.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <20091125115856.GA17856@elte.hu>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/x86/include/asm/debugreg.h
arch/x86/kernel/hw_breakpoint.c