diff options
author | Eric Anholt <eric@anholt.net> | 2007-07-20 12:55:51 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-07-20 12:55:51 -0700 |
commit | 5dc9fd96d7bf48003db832f145ad8acb4bcb73b4 (patch) | |
tree | cf32314d468fd308017c9445a9e7d65854ce7ecb /linux-core | |
parent | f4e1c1d05cfbd43ac429ab6dc78345ffa3599b7a (diff) |
Fix linux spinlock macros after the last commit.
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drmP.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 575e6255..af859c38 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -1266,12 +1266,12 @@ static inline void drm_ctl_free(void *pt, size_t size, int area) * Initialize the lock for use. name is an optional string describing the * lock */ -#define DRM_SPININIT(l,name) spin_lock_init(l); +#define DRM_SPININIT(l,name) spin_lock_init(l) #define DRM_SPINUNINIT(l) -#define DRM_SPINLOCK(l) spin_lock(l); -#define DRM_SPINUNLOCK(u) spin_unlock(l); -#define DRM_SPINLOCK_IRQSAVE(l, flags) spin_lock_irqflags(l, _flags); -#define DRM_SPINUNLOCK_IRQRESTORE(u, flags) spin_unlock_irqrestore(l, _flags); +#define DRM_SPINLOCK(l) spin_lock(l) +#define DRM_SPINUNLOCK(l) spin_unlock(l) +#define DRM_SPINLOCK_IRQSAVE(l, _flags) spin_lock_irqsave(l, _flags); +#define DRM_SPINUNLOCK_IRQRESTORE(l, _flags) spin_unlock_irqrestore(l, _flags); #define DRM_SPINLOCK_ASSERT(l) do {} while (0) #endif /* __KERNEL__ */ |