diff options
author | Jens Axboe <axboe@kernel.dk> | 2012-09-27 03:35:03 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-09-27 03:35:03 -0400 |
commit | c2b1ad800b66f62105a7fd250604d72e07202e66 (patch) | |
tree | 0f5461b02e016e796c0d60b9a7dc1bf69fccb9b5 /include/linux/fs.h | |
parent | e6b5c0822bcf43b91a2cdcb535ea828e953b6590 (diff) |
fs: fix include/percpu-rwsem.h export error
We get the following export error on the include file:
usr/include/linux/fs.h:13: included file 'linux/percpu-rwsem.h' is not exported
Move the include inside the __KERNEL__ section.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 24e1229cdfe0..cefa9645fc85 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -10,7 +10,6 @@ | |||
10 | #include <linux/ioctl.h> | 10 | #include <linux/ioctl.h> |
11 | #include <linux/blk_types.h> | 11 | #include <linux/blk_types.h> |
12 | #include <linux/types.h> | 12 | #include <linux/types.h> |
13 | #include <linux/percpu-rwsem.h> | ||
14 | 13 | ||
15 | /* | 14 | /* |
16 | * It's silly to have NR_OPEN bigger than NR_FILE, but you can change | 15 | * It's silly to have NR_OPEN bigger than NR_FILE, but you can change |
@@ -417,6 +416,7 @@ struct inodes_stat_t { | |||
417 | #include <linux/migrate_mode.h> | 416 | #include <linux/migrate_mode.h> |
418 | #include <linux/uidgid.h> | 417 | #include <linux/uidgid.h> |
419 | #include <linux/lockdep.h> | 418 | #include <linux/lockdep.h> |
419 | #include <linux/percpu-rwsem.h> | ||
420 | 420 | ||
421 | #include <asm/byteorder.h> | 421 | #include <asm/byteorder.h> |
422 | 422 | ||