19 lines
550 B
Plaintext
19 lines
550 B
Plaintext
From: jbeulich@novell.com
|
|
Subject: fix building with gcc 4.4
|
|
Patch-mainline: n/a
|
|
|
|
--- head-2009-05-19.orig/drivers/net/sfc/sfc_resource/ci/efhw/hardware_sysdep.h 2008-07-17 16:18:07.000000000 +0200
|
|
+++ head-2009-05-19/drivers/net/sfc/sfc_resource/ci/efhw/hardware_sysdep.h 2009-05-19 15:44:02.000000000 +0200
|
|
@@ -42,9 +42,9 @@
|
|
|
|
#include <linux/io.h>
|
|
|
|
-#ifdef __LITTLE_ENDIAN
|
|
+#if defined(__LITTLE_ENDIAN)
|
|
#define EFHW_IS_LITTLE_ENDIAN
|
|
-#elif __BIG_ENDIAN
|
|
+#elif defined(__BIG_ENDIAN)
|
|
#define EFHW_IS_BIG_ENDIAN
|
|
#else
|
|
#error Unknown endianness
|