]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - lib/kernel_lock.c
Merge branch 'upstream'
[karo-tx-linux.git] / lib / kernel_lock.c
index bd2bc5d887b815e261ff82c4167e410966b659d3..cb5490ec00f20f4fea3640275192f20d942a7fba 100644 (file)
@@ -177,8 +177,7 @@ static inline void __lock_kernel(void)
 
 static inline void __unlock_kernel(void)
 {
-       _raw_spin_unlock(&kernel_flag);
-       preempt_enable();
+       spin_unlock(&kernel_flag);
 }
 
 /*