diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-06-06 22:51:29 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-06-06 22:51:29 +0000 |
commit | 5ce0f2afec70a1d062b749e1bf7150c21d35281d (patch) | |
tree | 9ba4e9332dbc91ae270e4c7d534d04e97507d8c1 /linux-core | |
parent | 909085a0083fccae1c74d2c78dc8a34efc55a5cf (diff) |
define VM_DONTCOPY to zero if undefined
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/i810_dma.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-core/i810_dma.c b/linux-core/i810_dma.c index f041f209..2380a434 100644 --- a/linux-core/i810_dma.c +++ b/linux-core/i810_dma.c @@ -37,6 +37,11 @@ #include <linux/interrupt.h> /* For task queue support */ +/* in case we don't have a 2.3.99-pre6 kernel or later: */ +#ifndef VM_DONTCOPY +#define VM_DONTCOPY 0 +#endif + #define I810_BUF_FREE 2 #define I810_BUF_CLIENT 1 #define I810_BUF_HARDWARE 0 |