]> git.baikalelectronics.ru Git - kernel.git/commit
x86_64: Add missing mask operation to vdso
authorAndi Kleen <ak@suse.de>
Tue, 11 Sep 2007 12:02:09 +0000 (14:02 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 12 Sep 2007 16:28:06 +0000 (09:28 -0700)
commit5d2fe18ce41f95450a59b0adcc3a69cbb98fe44e
tree2b242803ab4f54333f874ffcf237fc9c7427a0a7
parentbaffc5497ebd1aec285c6b3b5b251eb9313ae1fb
x86_64: Add missing mask operation to vdso

vdso vgetns() didn't mask the time source offset calculation, which
could lead to time problems with 32bit HPET.  Add the masking.

Thanks to Chuck Ebbert for tracking this down.

Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/vdso/vclock_gettime.c