Files
linux-apfs/arch/powerpc/kernel
Michael Ellerman f691fa1080 powerpc: Replace mem_init_done with slab_is_available()
We have a powerpc specific global called mem_init_done which is "set on
boot once kmalloc can be called".

But that's not *quite* true. We set it at the bottom of mem_init(), and
rely on the fact that mm_init() calls kmem_cache_init() immediately
after that, and nothing is running in parallel.

So replace it with the generic and 100% correct slab_is_available().

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-04-10 20:02:48 +10:00
..
2014-04-18 14:20:41 +02:00
2014-11-03 12:12:32 +11:00
2014-11-27 09:32:58 +11:00
2014-08-13 15:13:42 +10:00
2014-09-25 23:14:46 +10:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2015-02-17 14:34:51 -08:00
2015-03-17 20:04:32 +11:00
2014-11-03 12:12:32 +11:00
2015-03-24 13:15:52 +11:00
2015-03-24 13:15:52 +11:00
2014-09-25 23:14:41 +10:00
2014-08-06 13:04:32 +02:00
2014-11-03 12:12:32 +11:00
2015-01-28 15:00:24 +11:00
2015-04-07 17:15:13 +10:00