summaryrefslogtreecommitdiffstats
path: root/sys/x86/include/stack.h
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-09-11 03:31:22 +0000
committermarkj <markj@FreeBSD.org>2015-09-11 03:31:22 +0000
commitb30bc0e211f2c169b84e83127d7d57de24fb688d (patch)
treebd69e05b9aff86437d0df31f23df93b3f0537bc4 /sys/x86/include/stack.h
parentdfb0cc5c03efdfd24efc1469b804742fd2d9bc5d (diff)
downloadFreeBSD-src-b30bc0e211f2c169b84e83127d7d57de24fb688d.zip
FreeBSD-src-b30bc0e211f2c169b84e83127d7d57de24fb688d.tar.gz
Remove the arg0 field from struct amd64_frame. Its existence was a bug,
since on amd64 the first argument to a function is generally not on the stack. Revert an old DTrace bug fix to some code that assumed that sizeof(struct amd64_frame) == 16. Reviewed by: jhb, kib Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D3255
Diffstat (limited to 'sys/x86/include/stack.h')
-rw-r--r--sys/x86/include/stack.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/x86/include/stack.h b/sys/x86/include/stack.h
index 8e45b82..3489e42 100644
--- a/sys/x86/include/stack.h
+++ b/sys/x86/include/stack.h
@@ -45,7 +45,6 @@ struct i386_frame {
struct amd64_frame {
struct amd64_frame *f_frame;
u_long f_retaddr;
- u_long f_arg0;
};
struct i386_frame {
OpenPOWER on IntegriCloud