Commit fe65ee28 authored by Neil Brown's avatar Neil Brown Committed by Anton Blanchard

[PATCH] PATCH: remove sti() from calibrate_xor_block()

Inexplicably, xor.c enabled interrupts...
 thanks to akmp
parent 040778bf
...@@ -109,7 +109,6 @@ calibrate_xor_block(void) ...@@ -109,7 +109,6 @@ calibrate_xor_block(void)
b2 = b1 + 2*PAGE_SIZE + BENCH_SIZE; b2 = b1 + 2*PAGE_SIZE + BENCH_SIZE;
printk(KERN_INFO "raid5: measuring checksumming speed\n"); printk(KERN_INFO "raid5: measuring checksumming speed\n");
sti();
#define xor_speed(templ) do_xor_speed((templ), b1, b2) #define xor_speed(templ) do_xor_speed((templ), b1, b2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment