summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorRichard Henderson <rth@are.twiddle.net>2002-03-24 09:52:10 -0800
committerRichard Henderson <rth@are.twiddle.net>2002-03-24 09:52:10 -0800
commit7ee912babeec5f7190820dac442db634ae2136de (patch)
tree30a3867ef6490db8952d6fe10cfd10007623937f /kernel
parent085c9a18acd4003fa77cf852aa770e52b2ce6a71 (diff)
Break an include loop by moving cache flushing routines from
asm/pgtable.h and/or asm/pgalloc.h to asm/cacheflush.h, and tlb flushing routines to asm/tlbflush.h.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/fork.c2
-rw-r--r--kernel/module.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index a05f52776e35..d7a274cbec95 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -29,6 +29,8 @@
#include <asm/pgalloc.h>
#include <asm/uaccess.h>
#include <asm/mmu_context.h>
+#include <asm/cacheflush.h>
+#include <asm/tlbflush.h>
static kmem_cache_t *task_struct_cachep;
diff --git a/kernel/module.c b/kernel/module.c
index d0ed467083f9..8d2f2a46de0e 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -11,6 +11,7 @@
#include <linux/kmod.h>
#include <linux/seq_file.h>
#include <linux/fs.h>
+#include <asm/cacheflush.h>
/*
* Originally by Anonymous (as far as I know...)