[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070719000549.1e57b5b2.akpm@linux-foundation.org>
Date: Thu, 19 Jul 2007 00:05:49 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Dave Airlie <airlied@...ux.ie>
Cc: linux-kernel@...r.kernel.org
Subject: 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?
-
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