diff options
Diffstat (limited to 'modules/spl/spl-generic.c')
-rw-r--r-- | modules/spl/spl-generic.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/spl/spl-generic.c b/modules/spl/spl-generic.c index 7a073ee52..7a818add8 100644 --- a/modules/spl/spl-generic.c +++ b/modules/spl/spl-generic.c @@ -59,7 +59,7 @@ int highbit(unsigned long i) { register int h = 1; - ENTRY; + ENTRY; if (i == 0) RETURN(0); @@ -97,7 +97,11 @@ EXPORT_SYMBOL(ddi_strtoul); struct new_utsname *__utsname(void) { +#ifdef HAVE_INIT_UTSNAME return init_utsname(); +#else + return &system_utsname; +#endif } EXPORT_SYMBOL(__utsname); |