mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
Reorder locking as down_read() may return with local interrupts enabled, which means we could go into vti_vcpu_run() with interrupts enabled. This caused random crashes on the Altix as the timer interrupt tried to read a memory mapped clock source, for which the TLB had not yet been reinstated in the exit, before ipsr was retored. Signed-off-by: Jes Sorensen <[email protected]> Acked-by: Xiantao Zhang <[email protected]> Signed-off-by: Avi Kivity <[email protected]>