diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-07-15 23:39:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 09:05:42 -0700 |
commit | 0a3021f4e249fbdb5f30d614707b5e02022e4c9b (patch) | |
tree | c01b80fa03dbb4a853b46f182864384736a54088 /include/linux/percpu.h | |
parent | 9aacd599342fdfc1fb9422f37e900609b7a46249 (diff) | |
download | linux-3.10-0a3021f4e249fbdb5f30d614707b5e02022e4c9b.tar.gz linux-3.10-0a3021f4e249fbdb5f30d614707b5e02022e4c9b.tar.bz2 linux-3.10-0a3021f4e249fbdb5f30d614707b5e02022e4c9b.zip |
Remove unnecessary includes of spinlock.h under include/linux
Remove the obviously unnecessary includes of <linux/spinlock.h> under the
include/linux/ directory, and fix the couple errors that are introduced as
a result of that.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/percpu.h')
-rw-r--r-- | include/linux/percpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/percpu.h b/include/linux/percpu.h index b72be2f79e6..926adaae0f9 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h @@ -1,7 +1,7 @@ #ifndef __LINUX_PERCPU_H #define __LINUX_PERCPU_H -#include <linux/spinlock.h> /* For preempt_disable() */ +#include <linux/preempt.h> #include <linux/slab.h> /* For kmalloc() */ #include <linux/smp.h> #include <linux/string.h> /* For memset() */ |