Skip to content

Commit 50d3439

Browse files
committed
sched/headers: Prepare to remove the <linux/magic.h> include from <linux/sched/task_stack.h>
Update files that depend on the magic.h inclusion. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 0881e7b commit 50d3439

5 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎drivers/dax/dax.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <linux/pagemap.h>
1414
#include <linux/module.h>
1515
#include <linux/device.h>
16+
#include <linux/magic.h>
1617
#include <linux/mount.h>
1718
#include <linux/pfn_t.h>
1819
#include <linux/hash.h>

‎drivers/virtio/virtio_balloon.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include <linux/wait.h>
3232
#include <linux/mm.h>
3333
#include <linux/mount.h>
34+
#include <linux/magic.h>
3435

3536
/*
3637
* Balloon device works in 4K page units. So each page is pointed to by

‎include/linux/sched/task_stack.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
#define _LINUX_SCHED_TASK_STACK_H
33

44
#include <linux/sched.h>
5+
#include <linux/magic.h>
56

67
#endif /* _LINUX_SCHED_TASK_STACK_H */

‎mm/zsmalloc.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include <linux/module.h>
3434
#include <linux/kernel.h>
3535
#include <linux/sched.h>
36+
#include <linux/magic.h>
3637
#include <linux/bitops.h>
3738
#include <linux/errno.h>
3839
#include <linux/highmem.h>

‎security/integrity/evm/evm_main.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#include <linux/xattr.h>
2323
#include <linux/integrity.h>
2424
#include <linux/evm.h>
25+
#include <linux/magic.h>
26+
2527
#include <crypto/hash.h>
2628
#include <crypto/algapi.h>
2729
#include "evm.h"

0 commit comments

Comments
 (0)