From: Heiko Carstens Date: Mon, 7 Jan 2013 13:17:23 +0000 (+0100) Subject: asm-generic/io.h: convert readX defines to functions X-Git-Tag: v3.9-rc1~111^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7292e7e01cc98fa04a9a3eb7ca11d1bca99c35e9;p=pandora-kernel.git asm-generic/io.h: convert readX defines to functions E.g. readl is defined like this #define readl(addr) __le32_to_cpu(__raw_readl(addr)) If a there is a readl() call that doesn't check the return value this will cause a compile warning on big endian machines due to the __le32_to_cpu macro magic. E.g. code like this: readl(addr); will generate the following compile warning: warning: value computed is not used [-Wunused-value] With this patch we get rid of dozens of compile warnings on s390. Signed-off-by: Heiko Carstens Acked-by: Arnd Bergmann Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed