]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
bit_spinlock: add required includes
authorNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:04 +0000 (17:50 +1100)
committerNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:31 +0000 (17:50 +1100)
Signed-off-by: Nick Piggin <npiggin@kernel.dk>
include/linux/bit_spinlock.h

index 7113a32a86ea9fd8816a32625197c8fa3700d2f2..e612575a259683c2429cd2d1b46a1cc9671d8141 100644 (file)
@@ -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()
  *