From: Frank Mori Hess Date: Sun, 11 Jan 2004 23:27:13 +0000 (+0000) Subject: band aid from Bernd Porr for VMALLOC_VMADDR macro getting dropped in 2.6 X-Git-Tag: r0_7_69~140 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=50c2aa943ef88d9e7dc26d6db29e304652f03efd;p=comedi.git band aid from Bernd Porr for VMALLOC_VMADDR macro getting dropped in 2.6 (from kernel changelog this happened because it did nothing). --- diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h index bbc3c7c3..0da835a7 100644 --- a/include/linux/vmalloc.h +++ b/include/linux/vmalloc.h @@ -21,6 +21,9 @@ extern inline void * vmalloc_32(unsigned long size) } #endif // 2.2.18 +#ifndef VMALLOC_VMADDR +#define VMALLOC_VMADDR(x) ((unsigned long)(x)) +#endif #endif