From 73bb8603b3a7480dc79d4c35bfcdf95a775413eb Mon Sep 17 00:00:00 2001 From: Pyun YongHyeon Date: Tue, 21 Nov 2006 04:11:31 +0000 Subject: [PATCH] Use #ifndef __NO_STRICT_ALIGNMENT rather than #if !defined(__i386__) && !defined(__amd64__) for architectures with alignment constraints. --- sys/pci/if_rlreg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h index 61d7c2e31f9..973d2d52a49 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.h @@ -637,7 +637,7 @@ struct rl_stats { * due to the 8139C+. We need to put the number of descriptors in the ring * structure and use that value instead. */ -#if !defined(__i386__) && !defined(__amd64__) +#ifndef __NO_STRICT_ALIGNMENT #define RE_FIXUP_RX 1 #endif