projects/linux·commit 95203aec

frv: fix fallout from "remove sched.h from mm.h" patch

95203aec · Alexey Dobriyan <[email protected]> · 2007-07-01 12:06:36 -07:00

/home/rpjday/AMD/k/topics/0_hi/hi1.c:15: error: dereferencing pointer to incomplete type
/home/rpjday/AMD/k/topics/0_hi/hi1.c:16: error: dereferencing pointer to incomplete type

Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: David Howells <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
95203aec21fcdff1f1fa5480a597d02416aa0a63
Parents
17022220

Changes

1 files changed · +1 −1

FileStatusAddDelContent
include/asm-frv/pgtable.hmodified+1−1View file

include/asm-frv/pgtable.h

View file
diff --git a/include/asm-frv/pgtable.h b/include/asm-frv/pgtable.h
index 2687c77..114aefa 100644
--- a/include/asm-frv/pgtable.h
+++ b/include/asm-frv/pgtable.h
@@ -25,7 +25,7 @@
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/spinlock.h>
-struct mm_struct;
+#include <linux/sched.h>
struct vm_area_struct;
#endif