diff options
author | Dave Airlie <airlied@linux.ie> | 2006-08-10 14:32:18 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-08-10 14:32:18 +1000 |
commit | 5340a7022766f3437fcaf9d8d4d83944befc2fa2 (patch) | |
tree | d710ccaf970fdbbf55c050cebfd8a967a6af7933 /linux-core/drm_compat.h | |
parent | df7378d7fa9d048aea6911a3fe4973050003401b (diff) |
cleanup some whitespace issue and move compat code to compat header
Diffstat (limited to 'linux-core/drm_compat.h')
-rw-r--r-- | linux-core/drm_compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/drm_compat.h b/linux-core/drm_compat.h index 4f3a6688..407853d7 100644 --- a/linux-core/drm_compat.h +++ b/linux-core/drm_compat.h @@ -205,6 +205,10 @@ static inline int remap_pfn_range(struct vm_area_struct *vma, unsigned long from #endif +#ifndef DEFINE_SPINLOCK +#define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED +#endif + /* old architectures */ #ifdef __AMD64__ #define __x86_64__ |