summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-12 00:35:07 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-12 00:35:07 +0000
commitca2b53c30a3c2dea1d2610319ea0f4913ecae2e4 (patch)
tree517264cd64f493b4abe59243171390dc9f665161 /kernel
parent2bab1036f931dad0ae1633669c92fb201b229789 (diff)
Make HZ_TO_STD macro name lowercase.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/signal.c4
-rw-r--r--kernel/sys.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index ad1b942ac..4e73949da 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -608,8 +608,8 @@ notify_parent(struct task_struct *tsk, int sig)
info.si_uid = tsk->uid;
/* FIXME: find out whether or not this is supposed to be c*time. */
- info.si_utime = HZ_TO_STD(tsk->times.tms_utime);
- info.si_stime = HZ_TO_STD(tsk->times.tms_stime);
+ info.si_utime = hz_to_std(tsk->times.tms_utime);
+ info.si_stime = hz_to_std(tsk->times.tms_stime);
status = tsk->exit_code & 0x7f;
why = SI_KERNEL; /* shouldn't happen */
diff --git a/kernel/sys.c b/kernel/sys.c
index a3879169e..eea48d548 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -738,14 +738,14 @@ asmlinkage long sys_times(struct tms * tbuf)
* as if the syscall took an instant longer to occur.
*/
if (tbuf) {
- temp.tms_utime = HZ_TO_STD(current->times.tms_utime);
- temp.tms_stime = HZ_TO_STD(current->times.tms_stime);
- temp.tms_cutime = HZ_TO_STD(current->times.tms_cutime);
- temp.tms_cstime = HZ_TO_STD(current->times.tms_cstime);
+ temp.tms_utime = hz_to_std(current->times.tms_utime);
+ temp.tms_stime = hz_to_std(current->times.tms_stime);
+ temp.tms_cutime = hz_to_std(current->times.tms_cutime);
+ temp.tms_cstime = hz_to_std(current->times.tms_cstime);
if (copy_to_user(tbuf, &temp, sizeof(struct tms)))
return -EFAULT;
}
- return HZ_TO_STD(jiffies);
+ return hz_to_std(jiffies);
}
/*