mirror of
https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
synced 2024-11-27 05:43:50 +08:00
missing.h: warn on missing __NR_finit_module
Complain (somewhat) loudly if we don't have the syscall number, as the default cannot work. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Lucas De Marchi <lucas.de.marchi@gmail.com> Link: https://github.com/kmod-project/kmod/pull/86 Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
This commit is contained in:
parent
d04b72adf3
commit
cee455ee78
@ -20,6 +20,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef __NR_finit_module
|
||||
# warning __NR_finit_module missing - kmod might not work correctly
|
||||
# define __NR_finit_module -1
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user