From abbeb75f29572218f47f791e6d7f645cc1adcdfc Mon Sep 17 00:00:00 2001 From: Kip Macy Date: Mon, 11 Dec 2006 04:50:25 +0000 Subject: [PATCH] make size of pad non-zero so that trap-tracing code doesn't overwrite the base of our stack --- sys/sun4v/include/pcpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sun4v/include/pcpu.h b/sys/sun4v/include/pcpu.h index f6c70ff9717..15819222fd4 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