From: gord-fig Date: Tue, 27 Aug 2002 21:19:47 +0000 (+0000) Subject: Add chaos13 patch from Andreas. X-Git-Tag: 0.5.5~40 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=29876d82bed9f81abd56f969712868437600c893;p=fs%2Flustre-release.git Add chaos13 patch from Andreas. --- 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));