diff options
| author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-02-23 12:00:59 +0300 |
|---|---|---|
| committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-04-05 18:43:04 +0300 |
| commit | 32a08c17d8096f0fd2c6600bc5fe8464aaf68ea7 (patch) | |
| tree | ca8c7a86bf5a6a83cf56d96f1cdf42353dd28dd3 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 0597579356fe5b6c0b99196e4743d4c2978f654a (diff) | |
| download | linux-32a08c17d8096f0fd2c6600bc5fe8464aaf68ea7.tar.xz | |
module: Move module_enable_x() and frob_text() in strict_rwx.c
Move module_enable_x() together with module_enable_nx() and
module_enable_ro().
Those three functions are going together, they are all used
to set up the correct page flags on the different sections.
As module_enable_x() is used independently of
CONFIG_STRICT_MODULE_RWX, build strict_rwx.c all the time and
use IS_ENABLED(CONFIG_STRICT_MODULE_RWX) when relevant.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
