diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2007-11-02 19:18:55 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2007-11-02 19:18:55 +0000 |
commit | 3d2aff0c44e7a28c51e9c43f02871617101acbd1 (patch) | |
tree | 38e2c1a2618ce2de2e92702ff3597b20f3881de1 /sys/compat/hpux | |
parent | 42ad3108cf13b9e8babeecff88713c7168021d37 (diff) |
replace ctob/btoc with ptoa/atop (plus the usual round_page() where needed)
Diffstat (limited to 'sys/compat/hpux')
-rw-r--r-- | sys/compat/hpux/m68k/hpux_exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/hpux/m68k/hpux_exec.c b/sys/compat/hpux/m68k/hpux_exec.c index ce5b1d26ec9..ac83a6ff412 100644 --- a/sys/compat/hpux/m68k/hpux_exec.c +++ b/sys/compat/hpux/m68k/hpux_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hpux_exec.c,v 1.2 2005/12/30 19:46:55 miod Exp $ */ +/* $OpenBSD: hpux_exec.c,v 1.3 2007/11/02 19:18:54 martin Exp $ */ /* $NetBSD: hpux_exec.c,v 1.8 1997/03/16 10:14:44 thorpej Exp $ */ /* @@ -199,8 +199,8 @@ exec_hpux_prep_zmagic(p, epp) * sizes frobbed. */ nontext = execp->ha_data + execp->ha_bss; - execp->ha_text = ctob(btoc(execp->ha_text)); - execp->ha_data = ctob(btoc(execp->ha_data)); + execp->ha_text = round_page(execp->ha_text); + execp->ha_data = round_page(execp->ha_data); execp->ha_bss = nontext - execp->ha_data; if (execp->ha_bss < 0) execp->ha_bss = 0; |