From 6c994d19fe0eb6fc643c865921d5147f44e9ad9e Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Thu, 8 Aug 2013 14:29:07 +0200 Subject: [PATCH] lwip: use alignment solely of 4 Temporarily 64bit fix for issue #817. --- libports/include/lwip/lwipopts.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libports/include/lwip/lwipopts.h b/libports/include/lwip/lwipopts.h index d1803c80b..8a743c334 100644 --- a/libports/include/lwip/lwipopts.h +++ b/libports/include/lwip/lwipopts.h @@ -54,12 +54,8 @@ #define MEM_LIBC_MALLOC 1 #define MEMP_MEM_MALLOC 1 -#ifdef __x86_64__ -#define MEM_ALIGNMENT 8 -#else +/* MEM_ALIGNMENT > 4 e.g. for x86_64 are not supported, see Genode issue #817 */ #define MEM_ALIGNMENT 4 -#endif -#define ETH_PAD_SIZE 2 #define DEFAULT_ACCEPTMBOX_SIZE 128 #define TCPIP_MBOX_SIZE 128