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)
commit95b08679963c78ce0d675224a6efdb5169f2bf75
tree2b242803ab4f54333f874ffcf237fc9c7427a0a7
parent99364df764bbef327be2f8b8ffcfbb41a4a1af4d
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