mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 00:51:51 -04:00
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 <briannorris@chromium.org> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: David Hildenbrand <david@redhat.com> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
7ffc923e25
commit
032c31127f
@@ -2,6 +2,8 @@
|
||||
#ifndef VM_EVENT_ITEM_H_INCLUDED
|
||||
#define VM_EVENT_ITEM_H_INCLUDED
|
||||
|
||||
#include <linux/thread_info.h>
|
||||
|
||||
#ifdef CONFIG_ZONE_DMA
|
||||
#define DMA_ZONE(xx) xx##_DMA,
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user