diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-07-02 14:34:11 +0900 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2012-07-03 21:41:03 +1000 |
commit | 75331a597cf4cde51d9b0bb22cbd03b9837ef9e4 (patch) | |
tree | 799891ab0798cc42b1a0b8dc77cd4c42b0d17036 /security/security.c | |
parent | 09b243577be319ef55310b45c65737008f3ebf12 (diff) | |
download | lwn-75331a597cf4cde51d9b0bb22cbd03b9837ef9e4.tar.gz lwn-75331a597cf4cde51d9b0bb22cbd03b9837ef9e4.zip |
security: Fix nommu build.
The security + nommu configuration presently blows up with an undefined
reference to BDI_CAP_EXEC_MAP:
security/security.c: In function 'mmap_prot':
security/security.c:687:36: error: dereferencing pointer to incomplete type
security/security.c:688:16: error: 'BDI_CAP_EXEC_MAP' undeclared (first use in this function)
security/security.c:688:16: note: each undeclared identifier is reported only once for each function it appears in
include backing-dev.h directly to fix it up.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/security.c b/security/security.c index 3efc9b12aef4..860aeb349cb3 100644 --- a/security/security.c +++ b/security/security.c @@ -23,6 +23,7 @@ #include <linux/mman.h> #include <linux/mount.h> #include <linux/personality.h> +#include <linux/backing-dev.h> #include <net/flow.h> #define MAX_LSM_EVM_XATTR 2 |