FOr SYSCALL_MODULE_HELPER, use "sys/<syscallname>" module name.

FOr SYSCALL32_MODULE_HELPER, use "sys32/<syscallname>" module name.
This avoids modules name conflict when compat32 syscall does not
need shims.

Note that SYSCALL_MODULE_HELPER is going to be unused in the tree by
several next commits.

Suggested by:	jhb
MFC after:	2 weeks
This commit is contained in:
kib 2010-03-19 10:52:54 +00:00
parent e28b3013f9
commit 7932a1f757
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ static struct syscall_module_data name##_syscall32_mod = { \
}; \
\
static moduledata_t name##32_mod = { \
#name, \
"sys32/" #name, \
syscall32_module_handler, \
&name##_syscall32_mod \
}; \

View File

@ -149,7 +149,7 @@ static struct syscall_module_data name##_syscall_mod = { \
}; \
\
static moduledata_t name##_mod = { \
#name, \
"sys/" #name, \
syscall_module_handler, \
&name##_syscall_mod \
}; \