diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2007-03-11 12:13:58 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-03-11 12:13:58 +1100 |
commit | 6a60b47d12b94d8c0a0feb00f165048be51153dd (patch) | |
tree | 04f319f836c7f5260b05ee9ad5042ffda5b9aa02 /linux-core/drm_compat.h | |
parent | caf0c481a6b998fc5e4a78d6b95f9f390c0ecc28 (diff) |
replace instance of SA_SHIRQ with IRQF_SHARED
backwards compat added by airlied
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 bf5899fb..bc5fadc5 100644 --- a/linux-core/drm_compat.h +++ b/linux-core/drm_compat.h @@ -97,6 +97,10 @@ #define __GFP_COMP 0 #endif +#if !defined(IRQF_SHARED) +#define IRQF_SHARED SA_SHIRQ +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) static inline int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t pgprot) { |