diff options
Diffstat (limited to 'security/selinux/avc.c')
-rw-r--r-- | security/selinux/avc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c index e73ac1ab7cfd..e7c0b5e2066b 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c | |||
@@ -124,7 +124,7 @@ DEFINE_PER_CPU(struct avc_cache_stats, avc_cache_stats) = { 0 }; | |||
124 | 124 | ||
125 | static struct avc_cache avc_cache; | 125 | static struct avc_cache avc_cache; |
126 | static struct avc_callback_node *avc_callbacks; | 126 | static struct avc_callback_node *avc_callbacks; |
127 | static kmem_cache_t *avc_node_cachep; | 127 | static struct kmem_cache *avc_node_cachep; |
128 | 128 | ||
129 | static inline int avc_hash(u32 ssid, u32 tsid, u16 tclass) | 129 | static inline int avc_hash(u32 ssid, u32 tsid, u16 tclass) |
130 | { | 130 | { |
@@ -332,7 +332,7 @@ static struct avc_node *avc_alloc_node(void) | |||
332 | { | 332 | { |
333 | struct avc_node *node; | 333 | struct avc_node *node; |
334 | 334 | ||
335 | node = kmem_cache_alloc(avc_node_cachep, SLAB_ATOMIC); | 335 | node = kmem_cache_alloc(avc_node_cachep, GFP_ATOMIC); |
336 | if (!node) | 336 | if (!node) |
337 | goto out; | 337 | goto out; |
338 | 338 | ||