On Fri, 01 Sep 2006 13:51:32 -0700 Roland Dreier <[email protected]> wrote: > 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. > If it's a choice between "ugly" and "doesn't work on x86", we'll take "ugly" ;) -- VGER BF report: H 0 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- 2.6.18-rc5-mm1
- From: Andrew Morton <[email protected]>
- 2.6.18-rc5-mm1: drivers/infiniband/hw/amso1100/c2.c compile error
- From: Adrian Bunk <[email protected]>
- Re: 2.6.18-rc5-mm1: drivers/infiniband/hw/amso1100/c2.c compile error
- From: Andrew Morton <[email protected]>
- Re: 2.6.18-rc5-mm1: drivers/infiniband/hw/amso1100/c2.c compile error
- From: Roland Dreier <[email protected]>
- Re: 2.6.18-rc5-mm1: drivers/infiniband/hw/amso1100/c2.c compile error
- From: Andrew Morton <[email protected]>
- Re: 2.6.18-rc5-mm1: drivers/infiniband/hw/amso1100/c2.c compile error
- From: Roland Dreier <[email protected]>
- Re: 2.6.18-rc5-mm1: drivers/infiniband/hw/amso1100/c2.c compile error
- From: Andrew Morton <[email protected]>
- Re: 2.6.18-rc5-mm1: drivers/infiniband/hw/amso1100/c2.c compile error
- From: Roland Dreier <[email protected]>
- 2.6.18-rc5-mm1
- Prev by Date: Re: 2.6.18-rc5-mm1: drivers/infiniband/hw/amso1100/c2.c compile error
- Next by Date: Re: [PATCH 0/4] Compile kernel with -fwhole-program --combine
- Previous by thread: Re: 2.6.18-rc5-mm1: drivers/infiniband/hw/amso1100/c2.c compile error
- Next by thread: Re: [openib-general] 2.6.18-rc5-mm1: drivers/infiniband/hw/amso1100/c2.c compile error
- Index(es):
![]() |