Image activators use EXEC_SET(), not TEXT_SET(). (The first is a macro

wrapper for DECLARE_MODULE(), the second is a linker set declaration)
This commit is contained in:
peter 1999-04-17 07:55:15 +00:00
parent eeaec3c191
commit ea1e34d0c9
2 changed files with 2 additions and 2 deletions

View File

@ -233,5 +233,5 @@ exec_svr4_imgact(imgp)
* correct directive to use. Do not staticize; used by Linux LKM.
*/
const struct execsw svr4_execsw = { exec_svr4_imgact, "svr4 ELF" };
TEXT_SET(execsw_set, svr4_execsw);
EXEC_SET(execsw_set, svr4_execsw);

View File

@ -233,5 +233,5 @@ exec_svr4_imgact(imgp)
* correct directive to use. Do not staticize; used by Linux LKM.
*/
const struct execsw svr4_execsw = { exec_svr4_imgact, "svr4 ELF" };
TEXT_SET(execsw_set, svr4_execsw);
EXEC_SET(execsw_set, svr4_execsw);