From 478da56c11fb128e2dc9680ad6e17325a65130fb Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 23 Sep 2002 05:55:10 +0000 Subject: 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. --- sys/alpha/pci/tsunamireg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/alpha/pci') diff --git a/sys/alpha/pci/tsunamireg.h b/sys/alpha/pci/tsunamireg.h index 60b19a3..36ecaaf 100644 --- a/sys/alpha/pci/tsunamireg.h +++ b/sys/alpha/pci/tsunamireg.h @@ -10,7 +10,7 @@ typedef struct { - volatile u_int64_t reg __attribute__((aligned(64))); + volatile u_int64_t reg __aligned(64); } tsunami_reg; /* notes */ typedef struct { -- cgit v1.1