nouveau: compat fix for set_page_locked().
authorPekka Paalanen <pq@iki.fi>
Sun, 2 Nov 2008 11:48:32 +0000 (13:48 +0200)
committerPekka Paalanen <pq@iki.fi>
Sun, 2 Nov 2008 11:55:23 +0000 (13:55 +0200)
commit87e90c73620b88005fcca5fd40aaaad0b08932e1
tree127e9a37699ba8d67ca299d7ed0facab49dc3a5d
parent00847dabe0fa5ccf796658f486e8f6f7a77e043b
nouveau: compat fix for set_page_locked().

The set_page_locked() function has changed its name again.
2.6.28 offers __set_page_locked() instead, which uses non-atomic
__set_bit() to do the work. In this case, offer our own
set_page_locked() using the atomic set_bit(), because I do not know
if atomic access is really necessary. Atomic behaviour is the one
previously expected.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
linux-core/drm_compat.h
linux-core/nouveau_sgdma.c