[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0707190900320.19586@skynet.skynet.ie>
Date: Thu, 19 Jul 2007 09:02:03 +0100 (IST)
From: Dave Airlie <airlied@...ux.ie>
To: Andrew Morton <akpm@...ux-foundation.org>
cc: linux-kernel@...r.kernel.org
Subject: Re: cmpxchg is not available to generic code
> arm:
>
> drivers/char/drm/drm_lock.c: In function `drm_lock_take':
> drivers/char/drm/drm_lock.c:221: error: implicit declaration of function `cmpxchg'
>
> You might be able to use atomic_cmpxchg, which _is_ present
> on all architectures. Or use a spinlock.
>
> What's that code doing anyway? driver-private locking primitives?
When did arm suddenly start wanting DRM? they need to grow a userpsace
cmpxchg as davem mentioned to go along with this, changing the drm now
isn't possible due to backwards compat..
Dave.
--
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists