Commit 6cda4fbc authored by Suren Baghdasaryan's avatar Suren Baghdasaryan Committed by Alistair Delva
Browse files

ANDROID: mm: hide get_each_object_track declaration when CONFIG_SLUB=n



struct track and enum track_item are undefined when CONFIG_SLUB=n.
get_each_object_track which uses these types should not be compiled
in this configuration. Add missing ifdefs to prevent compilation errors.

Fixes: ee8d2c78 ("ANDROID: mm: add get_each_object_track function")
Bug: 177377077
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Change-Id: I9ad15e6ef1572ba8f69b746ab837f051614c017c
(cherry picked from commit 6a0a7054)
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent 1fb8e678
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment