[tip:tracing/kmemtrace] fs, kmemtrace: fix fs.h's PAGE_SIZE dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  55553d2b7c253a1d676596fee680412727d84bc4
Gitweb:     http://git.kernel.org/tip/55553d2b7c253a1d676596fee680412727d84bc4
Author:     Ingo Molnar <mingo@xxxxxxx>
AuthorDate: Wed, 25 Mar 2009 16:48:35 +0100
Committer:  Ingo Molnar <mingo@xxxxxxx>
CommitDate: Wed, 25 Mar 2009 16:50:47 +0100

fs, kmemtrace: fix fs.h's PAGE_SIZE dependency

Impact: build fix

ARM does not build due to fs.h using PAGE_SIZE but not including
asm/page.h.

(This was masked before by rcupreempt.h including percpu.h which
brought in asm/page.h indirectly.)

( A future enhancement would be to split out the simple_transaction
  facility (only two usage sites) from fs.h, into a separate
  linux/simple_transaction.h header. )

Cc: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
Cc: Eduard - Gabriel Munteanu <eduard.munteanu@xxxxxxxxxxx>
Cc: paulmck@xxxxxxxxxxxxxxxxxx
LKML-Reference: <1237898630.25315.83.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>


---
 include/linux/fs.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/fs.h b/include/linux/fs.h
index 159f7b8..79be937 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -9,6 +9,8 @@
 #include <linux/limits.h>
 #include <linux/ioctl.h>
 
+#include <asm/page.h> /* for PAGE_SIZE */
+
 /*
  * It's silly to have NR_OPEN bigger than NR_FILE, but you can change
  * the file limit at runtime and only root can increase the per-process
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux