diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-02-23 18:16:12 +0800 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2024-02-23 17:33:31 -0500 |
commit | edc6670233a333ccfd1ec0548f068bd121d209c8 (patch) | |
tree | cfb528410ff58ffd71f4fb570dfcd3b6106c961e /drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | |
parent | 260017f31a8c3879be5f9048a46f382b06c1923a (diff) |
cred: Use KMEM_CACHE() instead of kmem_cache_create()
Commit 0a31bd5f2bbb ("KMEM_CACHE(): simplify slab cache creation")
introduces a new macro. Use the new KMEM_CACHE() macro instead of
direct kmem_cache_create() to simplify the creation of SLAB caches.
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
[PM: alignment fixes in both code and description]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c')
0 files changed, 0 insertions, 0 deletions