From: Brian Norris Date: Tue, 9 Sep 2025 20:13:57 +0000 (-0700) Subject: mm: vm_event_item: explicit #include for THREAD_SIZE X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=032c31127f27acb1b8152b512830ecef04ed2ebc;p=thirdparty%2Fkernel%2Fstable.git mm: vm_event_item: explicit #include for THREAD_SIZE This header uses THREAD_SIZE, which is provided by the thread_info.h header but is not included in this header. Depending on the #include ordering in other files, this can produce preprocessor errors. Link: https://lkml.kernel.org/r/20250909201419.827638-1-briannorris@chromium.org Signed-off-by: Brian Norris Reviewed-by: Lorenzo Stoakes Cc: David Hildenbrand Cc: Liam Howlett Cc: Michal Hocko Cc: Mike Rapoport Cc: Suren Baghdasaryan Cc: Vlastimil Babka Signed-off-by: Andrew Morton --- diff --git a/include/linux/vm_event_item.h b/include/linux/vm_event_item.h index 9e15a088ba38e..92f80b4d69a6d 100644 --- a/include/linux/vm_event_item.h +++ b/include/linux/vm_event_item.h @@ -2,6 +2,8 @@ #ifndef VM_EVENT_ITEM_H_INCLUDED #define VM_EVENT_ITEM_H_INCLUDED +#include + #ifdef CONFIG_ZONE_DMA #define DMA_ZONE(xx) xx##_DMA, #else