diff options
author | phk <phk@FreeBSD.org> | 1996-05-02 14:21:14 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-05-02 14:21:14 +0000 |
commit | 5a6fb3a7da69f11fbe5093f4a2cc7a4d86df5b36 (patch) | |
tree | c11aef2f7af5663393e978cd03a223a2ffbe6c69 /sys/kern/tty.c | |
parent | 189514aa416a464e44c25c45746e8ed5e850f03d (diff) | |
download | FreeBSD-src-5a6fb3a7da69f11fbe5093f4a2cc7a4d86df5b36.zip FreeBSD-src-5a6fb3a7da69f11fbe5093f4a2cc7a4d86df5b36.tar.gz |
removed:
CLBYTES PD_SHIFT PGSHIFT NBPG PGOFSET CLSIZELOG2 CLSIZE pdei()
ptei() kvtopte() ptetov() ispt() ptetoav() &c &c
new:
NPDEPG
Major macro cleanup.
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 188a132..7815b6d 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)tty.c 8.8 (Berkeley) 1/21/94 - * $Id: tty.c,v 1.79 1996/03/02 18:24:06 peter Exp $ + * $Id: tty.c,v 1.80 1996/03/11 06:05:03 hsu Exp $ */ /*- @@ -2199,7 +2199,7 @@ ttyinfo(tp) ttyprintf(tp, "%d.%02ds ", stime.tv_sec, stime.tv_usec / 10000); -#define pgtok(a) (((a) * NBPG) / 1024) +#define pgtok(a) (((a) * PAGE_SIZE) / 1024) /* Print percentage cpu, resident set size. */ tmp = (pick->p_pctcpu * 10000 + FSCALE / 2) >> FSHIFT; ttyprintf(tp, "%d%% %dk\n", |