diff options
author | kmacy <kmacy@FreeBSD.org> | 2006-12-11 04:50:25 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2006-12-11 04:50:25 +0000 |
commit | 7d690002f5a3b0abfb24dd15ad2f16869521549e (patch) | |
tree | 26123dd587e648bd565d2e87cf1ec525521b16b5 /sys/sun4v | |
parent | dd3ac6574bb72ada44683f2d28e83ffbf38d852d (diff) | |
download | FreeBSD-src-7d690002f5a3b0abfb24dd15ad2f16869521549e.zip FreeBSD-src-7d690002f5a3b0abfb24dd15ad2f16869521549e.tar.gz |
make size of pad non-zero so that trap-tracing code doesn't overwrite the
base of our stack
Diffstat (limited to 'sys/sun4v')
-rw-r--r-- | sys/sun4v/include/pcpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sun4v/include/pcpu.h b/sys/sun4v/include/pcpu.h index f6c70ff..1581922 100644 --- a/sys/sun4v/include/pcpu.h +++ b/sys/sun4v/include/pcpu.h @@ -77,7 +77,7 @@ struct pmap; struct rwindow pc_tsbwbuf[2]; \ uint64_t pc_caller; \ uint16_t pc_cpulist[MAXCPU]; \ - uint64_t pad[0]; + uint64_t pad[8]; /* XXX SUN4V_FIXME - as we access the *_ra and *_size fields in quick * succession we _really_ want them to be L1 cache line size aligned |