* [PATCH] fixes the bug : ntfs build failure in linux-2.6.git on no-mmu
@ 2008-03-13 6:59 Jason Wu
0 siblings, 0 replies; only message in thread
From: Jason Wu @ 2008-03-13 6:59 UTC (permalink / raw)
To: mingo, vapier.adi; +Cc: linux-kernel, wenhsuan121
[-- Attachment #1: Type: text/plain, Size: 191 bytes --]
This patch fixes the bug : ntfs build failure in linux-2.6.git on no-mmu
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=10164
Signed-off-by: Jason Wu <wenhsuan121@gmail.com>
[-- Attachment #2: 0294-This-patch-fixes-the-bug-of-Bug-Entry-http.patch --]
[-- Type: text/plain, Size: 814 bytes --]
From c7e305005c893cd605be16b010abc42f0b28b210 Mon Sep 17 00:00:00 2001
From: Jason Wu <wenhsuan121@gmail.com>
Date: Thu, 13 Mar 2008 12:14:20 +0800
Subject: [PATCH] This patch fixes the bug of Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=10164
---
include/linux/mm.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 3f3ccfe..2fa45c4 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -243,6 +243,12 @@ static inline int is_vmalloc_addr(const void *x)
return addr >= VMALLOC_START && addr < VMALLOC_END;
}
+#else
+/* Just return 1 all the time for no-MMU */
+static inline int is_vmalloc_addr(const void *x)
+{
+ return 1;
+}
#endif
static inline struct page *compound_head(struct page *page)
--
1.5.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-13 6:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-13 6:59 [PATCH] fixes the bug : ntfs build failure in linux-2.6.git on no-mmu Jason Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®