diff options
author | 2006-01-11 22:46:42 +0100 | |
---|---|---|
committer | 2006-01-11 19:05:03 -0800 | |
commit | 5329e13d0bd82e13814050eb9facb25eedde4bbc (patch) | |
tree | ec62d8058882edc85caaab3559a85ac1ffa30bf8 /net/tipc | |
parent | [PATCH] x86_64: No need to export get_cmos_time anymore (diff) | |
download | wireguard-linux-5329e13d0bd82e13814050eb9facb25eedde4bbc.tar.xz wireguard-linux-5329e13d0bd82e13814050eb9facb25eedde4bbc.zip |
[PATCH] x86_64: Fix get_cmos_time()
Due to a broken condition, the body of the loop that is intended to wait for
the Update-In-Progress bit to get set and then cleared again was never
entered; in fact, the entire loop was optimized out by the compiler. Here is
a change to fix the condition (and to also move the initialization of locals
out of the spin lock protected region).
Signed-Off-By: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions