security: Fix nommu build.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 2 Jul 2012 05:34:11 +0000 (14:34 +0900)
committerJames Morris <james.l.morris@oracle.com>
Tue, 3 Jul 2012 11:41:03 +0000 (21:41 +1000)
commit75331a597cf4cde51d9b0bb22cbd03b9837ef9e4
tree799891ab0798cc42b1a0b8dc77cd4c42b0d17036
parent09b243577be319ef55310b45c65737008f3ebf12
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>
security/security.c