Skip to contentSkip to conversation

Missing include in hugetlbpage.c

PATCH Andreas Schwab 3 participants 5 messages Apr 5, 2004

lore
Share & tools
lore
#0 lore raw

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."
#1 lore raw

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.c in 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

#2 lore raw
In reply to Andreas Schwab
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.c in 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."
#3 lore raw
In reply to Andreas Schwab
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
#4 lore raw
In reply to Andreas Schwab
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_SYMBOL also needs it.

But I don't see any EXPORT_SYMBOL in hugetlbpage.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."