diff options
| author | Petr Pavlu <petr.pavlu@suse.com> | 2026-09-11 14:46:14 +0000 |
|---|---|---|
| committer | Petr Pavlu <petr.pavlu@suse.com> | 2026-09-22 15:04:52 +0200 |
| commit | 1d7f1e329bac41d017aaf40037346bf89f5c245e (patch) | |
| tree | 986ceea63509511277e24e30a499f9f3a8796254 /arch/x86/kernel | |
| parent | 37002f9eb9bc4132022d6c0b3548f132299b87c0 (diff) | |
| download | linux-next-1d7f1e329bac41d017aaf40037346bf89f5c245e.tar.gz linux-next-1d7f1e329bac41d017aaf40037346bf89f5c245e.zip | |
umh, treewide: Explicitly include linux/umh.h where needed
The usermode helper declarations were previously provided by linux/kmod.h
but commit c1f3fa2a4fde ("kmod: split off umh headers into its own file")
moved them to linux/umh.h in 2017.
Add explicit includes of linux/umh.h to files that use usermode helpers and
remove linux/kmod.h where it is no longer needed.
Acked-by: Alex Elder <elder@riscstar.com> # for greybus
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Diffstat (limited to 'arch/x86/kernel')
| -rw-r--r-- | arch/x86/kernel/cpu/mce/dev-mcelog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mce/dev-mcelog.c b/arch/x86/kernel/cpu/mce/dev-mcelog.c index 053555206d81..af4e76babe7a 100644 --- a/arch/x86/kernel/cpu/mce/dev-mcelog.c +++ b/arch/x86/kernel/cpu/mce/dev-mcelog.c @@ -11,7 +11,7 @@ #include <linux/miscdevice.h> #include <linux/slab.h> -#include <linux/kmod.h> +#include <linux/umh.h> #include <linux/poll.h> #include "internal.h" |
