diff options
author | David Rientjes <rientjes@google.com> | 2014-07-10 10:25:30 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-07-10 10:25:30 +1000 |
commit | 6474465e01f2923979b7e85a810e2bc68f14b48b (patch) | |
tree | 1181b780a1bc04873ed52d42e1bd38627a2bd398 /mm/slub.c | |
parent | eb4f9dc7d3fa2e00b522f956383cfaf9cde7cfa9 (diff) |
mm, slub: mark resiliency_test as init text
resiliency_test() is only called for bootstrap, so it may be moved to
init.text and freed after boot.
Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c index 3918cd62a4b2..2d61503efb92 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -4187,7 +4187,7 @@ static int list_locations(struct kmem_cache *s, char *buf, #endif #ifdef SLUB_RESILIENCY_TEST -static void resiliency_test(void) +static void __init resiliency_test(void) { u8 *p; |