summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRoland Dreier <roland@topspin.com>2004-11-18 23:02:01 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-18 23:02:01 -0800
commitbbb0dbfc0300e2573b216753466293eaa3496489 (patch)
tree821ee6dc97be48ee9264de51e090a1b8ee15b877 /include/linux
parent154a0a84466d6031ee7a0f17e65f0dccdc712047 (diff)
[PATCH] linux/mount.h: add atomic.h and spinlock.h #includes
<linux/mount.h> uses atomic_t and spinlock_t, but doesn't include either <asm/atomic.h> or <linux/spinlock.h>, which means that any users of <linux/mount.h> have to include them. This patch adds the necessary #includes to avoid this. Signed-off-by: Roland Dreier <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mount.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h
index 42e2c9460088..8b8d3b9beefd 100644
--- a/include/linux/mount.h
+++ b/include/linux/mount.h
@@ -13,6 +13,8 @@
#ifdef __KERNEL__
#include <linux/list.h>
+#include <linux/spinlock.h>
+#include <asm/atomic.h>
#define MNT_NOSUID 1
#define MNT_NODEV 2