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:Suren Baghdasaryan <surenb@google.com> Change-Id: I9ad15e6ef1572ba8f69b746ab837f051614c017c (cherry picked from commit 6a0a7054) Signed-off-by:
Palmer Dabbelt <palmerdabbelt@google.com>
Loading
Please sign in to comment