From 29876d82bed9f81abd56f969712868437600c893 Mon Sep 17 00:00:00 2001 From: gord-fig Date: Tue, 27 Aug 2002 21:19:47 +0000 Subject: [PATCH] Add chaos13 patch from Andreas. --- lustre/patches/patch-2.4.18-chaos13 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lustre/patches/patch-2.4.18-chaos13 diff --git a/lustre/patches/patch-2.4.18-chaos13 b/lustre/patches/patch-2.4.18-chaos13 new file mode 100644 index 0000000..d193e4d --- /dev/null +++ b/lustre/patches/patch-2.4.18-chaos13 @@ -0,0 +1,12 @@ +--- linux-2.4.18-lustre13-3/drivers/qsnet1/qsw/kernel_linux.c Wed Jun 26 15:40:06 2002 ++++ linux-2.4.18-lustre13-4/drivers/qsnet1/qsw/kernel_linux.c Fri Aug 23 08:42:57 2002 +@@ -225,7 +225,8 @@ kmem_to_phys(void *ptr) + uintptr_t phys, virt = (uintptr_t)ptr; + pte_t *pte; + +- if ((((unsigned long) ptr) >= VMALLOC_START && ((unsigned long) ptr) < VMALLOC_END)) ++ if (((((unsigned long) ptr) >= VMALLOC_START && ((unsigned long) ptr) < VMALLOC_END)) || ++ ((((unsigned long) ptr) >= PKMAP_BASE && ((unsigned long) ptr) < (PKMAP_BASE + LAST_PKMAP * PAGE_SIZE)))) + { + pte = find_pte_k(virt); + ASSERT(pte && !pte_none(*pte)); -- 1.8.3.1