rtc: hctosys: use function name in the error log
[linux-2.6-block.git] / kernel / sys.c
index a03d9cd23ed779b2a38d8bf564bac6860d934f2f..3be344902316e93d8b147d1c5367dc60fe5908b8 100644 (file)
@@ -325,6 +325,7 @@ out_unlock:
  * SMP: There are not races, the GIDs are checked only by filesystem
  *      operations (as far as semantic preservation is concerned).
  */
+#ifdef CONFIG_MULTIUSER
 SYSCALL_DEFINE2(setregid, gid_t, rgid, gid_t, egid)
 {
        struct user_namespace *ns = current_user_ns();
@@ -815,6 +816,7 @@ change_okay:
        commit_creds(new);
        return old_fsgid;
 }
+#endif /* CONFIG_MULTIUSER */
 
 /**
  * sys_getpid - return the thread group id of the current process