Prepend spl_ to all init/fini functions

This is a bit of cleanup I'd been meaning to get to for a while
to reduce the chance of a type conflict.  Well that conflict
finally occurred with the kstat_init() function which conflicts
with a function in the 2.6.32-6-pve kernel.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #56
This commit is contained in:
Brian Behlendorf
2011-11-11 09:03:31 -08:00
parent 948914d2f1
commit 1114ae6ae7
11 changed files with 39 additions and 35 deletions
+4 -2
View File
@@ -618,7 +618,8 @@ tsd_exit(void)
}
EXPORT_SYMBOL(tsd_exit);
int tsd_init(void)
int
spl_tsd_init(void)
{
SENTRY;
@@ -629,7 +630,8 @@ int tsd_init(void)
SRETURN(0);
}
void tsd_fini(void)
void
spl_tsd_fini(void)
{
SENTRY;
tsd_hash_table_fini(tsd_hash_table);