diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-11 02:53:40 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 02:53:40 -0400 |
commit | 55910517af381eba4f978740e5e46e23eb269326 (patch) | |
tree | 22c82521d05029234634ebbf814b173570f18049 /drivers/char/drm/drm_lock.c | |
parent | cdd55a294c13f8bf05b2f4fee4c96934d5ebd2e4 (diff) |
drm: detypedeffing continues...
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_lock.c')
-rw-r--r-- | drivers/char/drm/drm_lock.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/char/drm/drm_lock.c b/drivers/char/drm/drm_lock.c index c3a998704106..c0534b5a8b78 100644 --- a/drivers/char/drm/drm_lock.c +++ b/drivers/char/drm/drm_lock.c | |||
@@ -202,7 +202,7 @@ int drm_unlock(struct inode *inode, struct file *filp, | |||
202 | * | 202 | * |
203 | * Attempt to mark the lock as held by the given context, via the \p cmpxchg instruction. | 203 | * Attempt to mark the lock as held by the given context, via the \p cmpxchg instruction. |
204 | */ | 204 | */ |
205 | int drm_lock_take(drm_lock_data_t *lock_data, | 205 | int drm_lock_take(struct drm_lock_data *lock_data, |
206 | unsigned int context) | 206 | unsigned int context) |
207 | { | 207 | { |
208 | unsigned int old, new, prev; | 208 | unsigned int old, new, prev; |
@@ -251,7 +251,7 @@ int drm_lock_take(drm_lock_data_t *lock_data, | |||
251 | * Resets the lock file pointer. | 251 | * Resets the lock file pointer. |
252 | * Marks the lock as held by the given context, via the \p cmpxchg instruction. | 252 | * Marks the lock as held by the given context, via the \p cmpxchg instruction. |
253 | */ | 253 | */ |
254 | static int drm_lock_transfer(drm_lock_data_t *lock_data, | 254 | static int drm_lock_transfer(struct drm_lock_data *lock_data, |
255 | unsigned int context) | 255 | unsigned int context) |
256 | { | 256 | { |
257 | unsigned int old, new, prev; | 257 | unsigned int old, new, prev; |
@@ -277,7 +277,7 @@ static int drm_lock_transfer(drm_lock_data_t *lock_data, | |||
277 | * Marks the lock as not held, via the \p cmpxchg instruction. Wakes any task | 277 | * Marks the lock as not held, via the \p cmpxchg instruction. Wakes any task |
278 | * waiting on the lock queue. | 278 | * waiting on the lock queue. |
279 | */ | 279 | */ |
280 | int drm_lock_free(drm_lock_data_t *lock_data, unsigned int context) | 280 | int drm_lock_free(struct drm_lock_data *lock_data, unsigned int context) |
281 | { | 281 | { |
282 | unsigned int old, new, prev; | 282 | unsigned int old, new, prev; |
283 | volatile unsigned int *lock = &lock_data->hw_lock->lock; | 283 | volatile unsigned int *lock = &lock_data->hw_lock->lock; |
@@ -319,7 +319,7 @@ int drm_lock_free(drm_lock_data_t *lock_data, unsigned int context) | |||
319 | */ | 319 | */ |
320 | static int drm_notifier(void *priv) | 320 | static int drm_notifier(void *priv) |
321 | { | 321 | { |
322 | drm_sigdata_t *s = (drm_sigdata_t *) priv; | 322 | struct drm_sigdata *s = (struct drm_sigdata *) priv; |
323 | unsigned int old, new, prev; | 323 | unsigned int old, new, prev; |
324 | 324 | ||
325 | /* Allow signal delivery if lock isn't held */ | 325 | /* Allow signal delivery if lock isn't held */ |
@@ -350,7 +350,7 @@ static int drm_notifier(void *priv) | |||
350 | * having to worry about starvation. | 350 | * having to worry about starvation. |
351 | */ | 351 | */ |
352 | 352 | ||
353 | void drm_idlelock_take(drm_lock_data_t *lock_data) | 353 | void drm_idlelock_take(struct drm_lock_data *lock_data) |
354 | { | 354 | { |
355 | int ret = 0; | 355 | int ret = 0; |
356 | 356 | ||
@@ -369,7 +369,7 @@ void drm_idlelock_take(drm_lock_data_t *lock_data) | |||
369 | } | 369 | } |
370 | EXPORT_SYMBOL(drm_idlelock_take); | 370 | EXPORT_SYMBOL(drm_idlelock_take); |
371 | 371 | ||
372 | void drm_idlelock_release(drm_lock_data_t *lock_data) | 372 | void drm_idlelock_release(struct drm_lock_data *lock_data) |
373 | { | 373 | { |
374 | unsigned int old, prev; | 374 | unsigned int old, prev; |
375 | volatile unsigned int *lock = &lock_data->hw_lock->lock; | 375 | volatile unsigned int *lock = &lock_data->hw_lock->lock; |