slub: fix SLUB_RESILIENCY_TEST for dynamic kmalloc caches
commita016471a16b5c4d4ec8f5221575e603a3d11e5e9
authorDavid Rientjes <rientjes@google.com>
Wed, 25 Aug 2010 23:32:27 +0000 (25 16:32 -0700)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Oct 2010 07:24:29 +0000 (2 10:24 +0300)
treeffc9e385f0db13aa5dad34a461fac38a0638474e
parent8de66a0c022c7c575c7481224803292cdabed4c4
slub: fix SLUB_RESILIENCY_TEST for dynamic kmalloc caches

Now that the kmalloc_caches array is dynamically allocated at boot,
SLUB_RESILIENCY_TEST needs to be fixed to pass the correct type.

Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c