Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arch: hexagon: include: asm: add generic macro 'mmiowb' in "io.h"

Need dumy mmiowb(), or can not pass compiling, the related error with
allmodconfig:

CC [M] drivers/mmc/host/sdhci.o
drivers/mmc/host/sdhci.c: In function 'sdhci_request':
drivers/mmc/host/sdhci.c:1409:2: error: implicit declaration of function 'mmiowb' [-Werror=implicit-function-declaration]

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>

authored by

Chen Gang and committed by
Richard Kuo
5e78a264 e6d19042

+2
+2
arch/hexagon/include/asm/io.h
··· 189 189 #define writew_relaxed __raw_writew 190 190 #define writel_relaxed __raw_writel 191 191 192 + #define mmiowb() 193 + 192 194 /* 193 195 * Need an mtype somewhere in here, for cache type deals? 194 196 * This is probably too long for an inline.