Missing include in hugetlbpage.c
This fixes a missing include file in arch/ia64/mm/hugetlbpage.c in 2.6.5.
Andreas.
arch/ia64/mm/hugetlbpage.c renamed from arch/ia64/mm/hugetlbpage.c.~1~ +1 -0
@@ -9,6 +9,7 @@*/ #include <linux/config.h> +#include <linux/module.h> #include <linux/init.h> #include <linux/fs.h> #include <linux/mm.h>
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
arch/ia64/mm/hugetlbpage.c line 15
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Andreas Schwab wrote on Mon, April 05, 2004 7:01 AM
This fixes a missing include file in
arch/ia64/mm/hugetlbpage.cin 2.6.5.arch/ia64/mm/hugetlbpage.c renamed from arch/ia64/mm/hugetlbpage.c.~1~ +1
-0@@ -9,6 +9,7 @@*/ #include <linux/config.h> +#include <linux/module.h> #include <linux/init.h> #include <linux/fs.h> #include <linux/mm.h>
Just wondering what part depends on that header file, hugetlbpage can't be module anyway.
- Ken
Quoted 7 lines · Kenneth W
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Andreas Schwab wrote on Mon, April 05, 2004 7:01 AM
This fixes a missing include file in
arch/ia64/mm/hugetlbpage.cin 2.6.5.(quoted diff) +0
-0@@ -9,6 +9,7 @@ */
Quoted 8 lines
arch/ia64/mm/hugetlbpage.c line 15
Quoted 5 lines
arch/ia64/mm/hugetlbpage.c renamed from arch/ia64/mm/hugetlbpage.c.~1~ +1
-0#include <linux/config.h> +#include <linux/module.h> #include <linux/init.h> #include <linux/fs.h> #include <linux/mm.h> Just wondering what part depends on that header file, hugetlbpage can't be module anyway.
This has nothing to do with being module or not. EXPORT_SYMBOL also needs it.
Andreas.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Andreas Schwab
Andreas> This has nothing to do with being module or not. Andreas> EXPORT_SYMBOL also needs it.
But I don't see any EXPORT_SYMBOL in hugetlbpage.c. What am I missing?
--david
Quoted 6 lines · David Mosberger
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Andreas Schwab
Andreas> This has nothing to do with being module or not. Andreas>
EXPORT_SYMBOLalso needs it.But I don't see any
EXPORT_SYMBOLinhugetlbpage.c. What am I missing?
http://linux.bkbits.net:8080/linux-2.5/cset%401.1772?nav=index.html|ChangeSet@-3d
Andreas.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."