From: Paul Mundt Date: Mon, 2 Jul 2012 05:34:11 +0000 (+0900) Subject: security: Fix nommu build. X-Git-Tag: v3.8~302^2~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=659b5e76521c10331495cbd9acb7217e38ff9750;p=platform%2Fkernel%2Flinux-amlogic.git 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 Signed-off-by: James Morris --- diff --git a/security/security.c b/security/security.c index 3efc9b1..860aeb3 100644 --- a/security/security.c +++ b/security/security.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #define MAX_LSM_EVM_XATTR 2