linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/net/wireless/b43legacy/ on mips
@ 2008-03-04  7:36 Andrew Morton
  2008-03-04  9:02 ` Ralf Baechle
  2008-03-04 15:26 ` Michael Buesch
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew Morton @ 2008-03-04  7:36 UTC (permalink / raw)
  To: linux-wireless; +Cc: Ralf Baechle


ERROR: "__ucmpdi2" [drivers/net/wireless/b43legacy/b43legacy.ko] undefined!
ERROR: "__ucmpdi2" [drivers/net/wireless/b43/b43.ko] undefined!

int b43legacy_dma_init(struct b43legacy_wldev *dev)
{
        struct b43legacy_dma *dma = &dev->dma;
        struct b43legacy_dmaring *ring;
        int err;
        u64 dmamask;
        enum b43legacy_dmatype type;

        dmamask = supported_dma_mask(dev);
        switch (dmamask) {
        default:
                B43legacy_WARN_ON(1);
        case DMA_30BIT_MASK:
                type = B43legacy_DMA_30BIT;
                break;
        case DMA_32BIT_MASK:
                type = B43legacy_DMA_32BIT;
                break;
        case DMA_64BIT_MASK:
                type = B43legacy_DMA_64BIT;
                break;
        }

because some versions of gcc emit a __ucmpdi2 call for switch statements. 
It might be fixable by switching to an open-coded if/compare/else sequence.

Or maybe my mips compiler (gcc-3.4.5) is just too old..

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-04 15:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-04  7:36 drivers/net/wireless/b43legacy/ on mips Andrew Morton
2008-03-04  9:02 ` Ralf Baechle
2008-03-04  9:19   ` Andrew Morton
2008-03-04 15:26 ` Michael Buesch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).