summaryrefslogtreecommitdiffstats
path: root/sys/alpha/osf1/osf1_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/osf1/osf1_misc.c')
-rw-r--r--sys/alpha/osf1/osf1_misc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/alpha/osf1/osf1_misc.c b/sys/alpha/osf1/osf1_misc.c
index eacf78a..63ce5ee 100644
--- a/sys/alpha/osf1/osf1_misc.c
+++ b/sys/alpha/osf1/osf1_misc.c
@@ -209,10 +209,8 @@ osf1_getsysinfo(td, uap)
rpb_size = (unsigned long)&hwrpb->rpb_tbhint -
(unsigned long)hwrpb;
if(uap->nbytes < rpb_size){
- mtx_lock(&Giant);
uprintf("nbytes = %ld, sizeof(struct rpb) = %ld\n",
uap->nbytes, rpb_size);
- mtx_unlock(&Giant);
error = EINVAL;
}
else {
@@ -256,9 +254,7 @@ osf1_setsysinfo(td, uap)
break;
}
default:
- mtx_lock(&Giant);
uprintf("osf1_setsysinfo called with op=%ld\n", uap->op);
- mtx_unlock(&Giant);
/*error = EINVAL;*/
}
return (error);
OpenPOWER on IntegriCloud