|
@@ -474,7 +474,7 @@ enum nic_state {
|
|
* This is the equivalent of NET_IP_ALIGN [which controls the alignment
|
|
* This is the equivalent of NET_IP_ALIGN [which controls the alignment
|
|
* of the skb->head for hardware DMA].
|
|
* of the skb->head for hardware DMA].
|
|
*/
|
|
*/
|
|
-#if defined(__i386__) || defined(__x86_64__)
|
|
|
|
|
|
+#ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
|
|
#define EFX_PAGE_IP_ALIGN 0
|
|
#define EFX_PAGE_IP_ALIGN 0
|
|
#else
|
|
#else
|
|
#define EFX_PAGE_IP_ALIGN NET_IP_ALIGN
|
|
#define EFX_PAGE_IP_ALIGN NET_IP_ALIGN
|