xlat: add values for MODULE_INIT_* constants

* bjm.c (MODULE_INIT_IGNORE_MODVERSIONS, MODULE_INIT_IGNORE_VERMAGIC):
Remove.
* xlat/module_init_flags.in: Add values for
MODULE_INIT_IGNORE_MODVERSIONS and MODULE_INIT_IGNORE_VERMAGIC records.
This commit is contained in:
Eugene Syromyatnikov 2016-10-17 02:14:00 +03:00
parent d71973c31f
commit 73acaec01e
2 changed files with 2 additions and 5 deletions

3
bjm.c
View File

@ -51,9 +51,6 @@ SYS_FUNC(init_module)
return RVAL_DECODED;
}
#define MODULE_INIT_IGNORE_MODVERSIONS 1
#define MODULE_INIT_IGNORE_VERMAGIC 2
#include "xlat/module_init_flags.h"
SYS_FUNC(finit_module)

View File

@ -1,2 +1,2 @@
MODULE_INIT_IGNORE_MODVERSIONS
MODULE_INIT_IGNORE_VERMAGIC
MODULE_INIT_IGNORE_MODVERSIONS (1 << 0)
MODULE_INIT_IGNORE_VERMAGIC (1 << 1)