summaryrefslogtreecommitdiffstats
path: root/sys/boot/ia64/ski
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-09-23 05:55:10 +0000
committerpeter <peter@FreeBSD.org>2002-09-23 05:55:10 +0000
commit478da56c11fb128e2dc9680ad6e17325a65130fb (patch)
tree84738140e3f54dbb6cbf2dc19d7b1c5003ab42ef /sys/boot/ia64/ski
parenta1e3465870765c85d6a73efbf4c808531126ede9 (diff)
downloadFreeBSD-src-478da56c11fb128e2dc9680ad6e17325a65130fb.zip
FreeBSD-src-478da56c11fb128e2dc9680ad6e17325a65130fb.tar.gz
At great personal risk, add a __packed and __aligned(x) define that
expand to __attribute__((packed)) and __attribute__((aligned(x))) respectively. Replace the handful of gcc-ism's that use __attribute__((aligned(16))) etc around the kernel with __aligned(16). There are over 400 __attribute__((packed)) to deal with, that can come later. I just want to use __packed in new code rather than add more gcc-ism's.
Diffstat (limited to 'sys/boot/ia64/ski')
-rw-r--r--sys/boot/ia64/ski/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/ia64/ski/main.c b/sys/boot/ia64/ski/main.c
index 01b407d..cd3c479 100644
--- a/sys/boot/ia64/ski/main.c
+++ b/sys/boot/ia64/ski/main.c
@@ -49,7 +49,7 @@ struct arch_switch archsw; /* MI/MD interface boundary */
void
__start(void)
{
- static char stack[16384] __attribute__((aligned (16)));
+ static char stack[16384] __aligned(16);
static char malloc[512*1024];
int i;
OpenPOWER on IntegriCloud