From 50c2aa943ef88d9e7dc26d6db29e304652f03efd Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 11 Jan 2004 23:27:13 +0000 Subject: [PATCH] band aid from Bernd Porr for VMALLOC_VMADDR macro getting dropped in 2.6 (from kernel changelog this happened because it did nothing). --- include/linux/vmalloc.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.26.2