Date: Tue, 8 Dec 2009 05:32:44 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r200250 - stable/8/sys/powerpc/powerpc Message-ID: <200912080532.nB85Wi2p077513@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Tue Dec 8 05:32:44 2009 New Revision: 200250 URL: http://svn.freebsd.org/changeset/base/200250 Log: MFC r198678: ake procstat -k work on PowerPC by avoiding mistakenly using signed compares with a low address (0x1000) and a high address (the KVA kernel stack). Modified: stable/8/sys/powerpc/powerpc/stack_machdep.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/powerpc/powerpc/stack_machdep.c ============================================================================== --- stable/8/sys/powerpc/powerpc/stack_machdep.c Tue Dec 8 05:27:06 2009 (r200249) +++ stable/8/sys/powerpc/powerpc/stack_machdep.c Tue Dec 8 05:32:44 2009 (r200250) @@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$"); #include <machine/trap.h> static void -stack_capture(struct stack *st, register_t frame) +stack_capture(struct stack *st, vm_offset_t frame) { vm_offset_t callpc; @@ -76,7 +76,7 @@ stack_capture(struct stack *st, register void stack_save_td(struct stack *st, struct thread *td) { - register_t frame; + vm_offset_t frame; if (TD_IS_SWAPPED(td)) panic("stack_save_td: swapped");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912080532.nB85Wi2p077513>