[PATCH v2 12/15] spi/xilinx: Remove iowrite/ioread wrappers

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Thu Jan 29 22:13:10 PST 2015


Hello Mark

This patch has caused a lot of issues on linux-next :S, sorry.

The root of the issue is that iowrite/ioread behaves differently in
different arches.

1) It does not necesary need to be a symbol in all the arches. It can
be declared as a function macro:

#define iowrite32(a,b) iowrite32(a,b)

2) Sometimes, even the function has a different prototype.

 include/asm-generic/iomap.h
 extern unsigned int ioread16be(void __iomem *);

 include/asm-generic/io.h
 extern unsigned int ioread16be(void __iomem *);

Until this is fixed, please revert this patch.

Sorry for the mess.

-- 
Ricardo Ribalda



More information about the linux-arm-kernel mailing list