ieee1394: silence defined but not used warning in non-modular builds
[sfrench/cifs-2.6.git] / arch / sparc64 / solaris / misc.c
index c86cb3091a8ea8f28201f9afc66b718f230a107a..d3e48e9701bf33b35047cda9ebda3eb9e5546316 100644 (file)
@@ -415,7 +415,7 @@ asmlinkage int solaris_procids(int cmd, s32 pid, s32 pgid)
        
        switch (cmd) {
        case 0: /* getpgrp */
-               return task_pgrp_nr(current);
+               return task_pgrp_vnr(current);
        case 1: /* setpgrp */
                {
                        int (*sys_setpgid)(pid_t,pid_t) =
@@ -426,7 +426,7 @@ asmlinkage int solaris_procids(int cmd, s32 pid, s32 pgid)
                        ret = sys_setpgid(0, 0);
                        if (ret) return ret;
                        proc_clear_tty(current);
-                       return task_pgrp_nr(current);
+                       return task_pgrp_vnr(current);
                }
        case 2: /* getsid */
                {