Files
poky/meta/recipes-devtools/mmc/mmc-utils/0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch
Chen Qi 9bf4e656e1 mmc-utils: fix compilation failure for mips64 target.
This patch fixes mmc-utils compilation failure for qemumips64.
Remove the 'include <asm-generic/int-ll64.h>' line from mmc.h,
because this file is automatically included if _MIPS_SZLONG
is not 64, otherwise, <asm-generic/int-l64.h> is included.

Expicitly including <asm-generic/int-ll64.h> will cause the
compilation failure for mips64 target.

[YOCTO #6267]

(From OE-Core rev: 5477cc86015be24cc5b232ac1f8c67cd8b65a740)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-08 13:00:32 +01:00

29 lines
611 B
Diff

Upstream-Status: Pending
mmc.h: don't include <asm-generic/int-ll64.h>
Including this file causes a compile failure for qemumips64.
This file is not needed to be explicitly included, because it will be
included by the <linux/mmc/ioctl.h> file if _MIPS_SZLONG is not 64.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
mmc.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/mmc.h b/mmc.h
index 9871d62..3df2cdf 100644
--- a/mmc.h
+++ b/mmc.h
@@ -14,7 +14,6 @@
* Boston, MA 021110-1307, USA.
*/
-#include <asm-generic/int-ll64.h>
#include <linux/mmc/ioctl.h>
#include <stdio.h>
--
1.7.9.5