Explorar o código

bit_spinlock: add required includes

Signed-off-by: Nick Piggin <npiggin@kernel.dk>
Nick Piggin %!s(int64=14) %!d(string=hai) anos
pai
achega
626d607435
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      include/linux/bit_spinlock.h

+ 4 - 0
include/linux/bit_spinlock.h

@@ -1,6 +1,10 @@
 #ifndef __LINUX_BIT_SPINLOCK_H
 #define __LINUX_BIT_SPINLOCK_H
 
+#include <linux/kernel.h>
+#include <linux/preempt.h>
+#include <asm/atomic.h>
+
 /*
  *  bit-based spin_lock()
  *