]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: move kvmalloc-related functions to slab.h
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 24 Aug 2021 00:00:15 +0000 (10:00 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 2 Sep 2021 05:32:29 +0000 (15:32 +1000)
commitadaf1cddb39f3bebaf50305489682b6444073261
treeeadf47f9e262e18ff37366820d679027a3bdd444
parent611bdabec9500e579a73757bdec8bc39435f7c0b
mm: move kvmalloc-related functions to slab.h

Not all files in the kernel should include mm.h.  Migrating callers from
kmalloc to kvmalloc is easier if the kvmalloc functions are in slab.h.

[akpm@linux-foundation.org: move the new kvrealloc() also]
Link: https://lkml.kernel.org/r/20210622215757.3525604-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Christoph Lameter <cl@linux.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
drivers/of/kexec.c
include/linux/mm.h
include/linux/slab.h