aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 630c85469164..42a9eddb61cd 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -470,8 +470,6 @@ static struct kmem_cache kmem_cache_boot = {
470 .name = "kmem_cache", 470 .name = "kmem_cache",
471}; 471};
472 472
473#define BAD_ALIEN_MAGIC 0x01020304ul
474
475static DEFINE_PER_CPU(struct delayed_work, slab_reap_work); 473static DEFINE_PER_CPU(struct delayed_work, slab_reap_work);
476 474
477static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) 475static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep)
@@ -838,7 +836,7 @@ static int transfer_objects(struct array_cache *to,
838static inline struct alien_cache **alloc_alien_cache(int node, 836static inline struct alien_cache **alloc_alien_cache(int node,
839 int limit, gfp_t gfp) 837 int limit, gfp_t gfp)
840{ 838{
841 return (struct alien_cache **)BAD_ALIEN_MAGIC; 839 return NULL;
842} 840}
843 841
844static inline void free_alien_cache(struct alien_cache **ac_ptr) 842static inline void free_alien_cache(struct alien_cache **ac_ptr)