]> git.baikalelectronics.ru Git - kernel.git/commit
fs: fix include/percpu-rwsem.h export error
authorJens Axboe <axboe@kernel.dk>
Thu, 27 Sep 2012 07:35:03 +0000 (09:35 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 Sep 2012 07:35:03 +0000 (09:35 +0200)
commit361e06cb3453ba0ec38a423fd2cdead7fd632254
tree0f5461b02e016e796c0d60b9a7dc1bf69fccb9b5
parent5874cdaf07be4e9d579ae577ab935afe917a2261
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>
include/linux/fs.h