]> git.baikalelectronics.ru Git - kernel.git/commit
x86: shift bits the right way in native_read_tscp
authorMax Asbock <masbock@us.ibm.com>
Wed, 25 Jun 2008 21:45:28 +0000 (14:45 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Jun 2008 12:49:17 +0000 (14:49 +0200)
commite2dd4a0ef5eafc2257a4d93c93ef128e0a6a5f6b
tree988cd338a7cee77bc06338f71ce4909f296a8f60
parent6b104ec0c7a933456e4660615459700bb9847d70
x86: shift bits the right way in native_read_tscp

native_read_tscp shifts the bits in the high order value in the
wrong direction, the attached patch fixes that.

Signed-off-by: Max Asbock <masbock@linux.vnet.ibm.com>
Acked-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/msr.h