x86: udelay: Use this_cpu_read to avoid address calculation
authorChristoph Lameter <cl@linux.com>
Thu, 16 Dec 2010 18:14:43 +0000 (12:14 -0600)
committerTejun Heo <tj@kernel.org>
Tue, 4 Jan 2011 05:08:55 +0000 (06:08 +0100)
commit357089fca91f639dd005ae0721f5f932b4f276ab
tree0af40092c4589d7732d10b8da2d4fb52531f504a
parentc1955b5f3a95717ce1f5235f6e9968da068e3183
x86: udelay: Use this_cpu_read to avoid address calculation

The code will use a segment prefix instead of doing the lookup and
calculation.

Signed-off-by: Christoph Lameter <cl@linux.com>
Acked-by: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/lib/delay.c