[openib-general] 2.6.18-rc5-mm1: drivers/infiniband/hw/amso1100/c2.c compile error

Roland Dreier rdreier at cisco.com
Fri Sep 1 13:51:32 PDT 2006


    Andrew> No, driver-specific workarounds are not legitimate, sorry.

    Andrew> The driver should simply fail to compile on architectures
    Andrew> which do not implement __raw_writeq().

But how should i386 (say) implement __raw_writeq()?  As two
__raw_writel()s protected by a spinlock (that serializes all IO
transactions)?  That seems rather ugly.

 - R.




More information about the general mailing list