From 024fd4b15022236fe3f79eba23fec5d6177d0cb4 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 30 May 2004 23:38:08 +0000 Subject: 2.4 compat --- linux-core/drmP.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux-core') diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 068482c0..8d3f0325 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -267,6 +267,10 @@ static inline struct class_simple *class_simple_create(struct module *owner, cha #define __user #endif +#ifndef __put_page +#define __put_page(p) atomic_dec(&(p)->count) +#endif + #ifndef REMAP_PAGE_RANGE_5_ARGS #define DRM_RPR_ARG(vma) #else -- cgit v1.2.3