mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jason Wu" <wenhsuan121@gmail.com>
To: mingo@redhat.com, vapier.adi@gmail.com
Cc: linux-kernel@vger.kernel.org, wenhsuan121@gmail.com
Subject: [PATCH] fixes the bug : ntfs build failure in linux-2.6.git on no-mmu
Date: Thu, 13 Mar 2008 14:59:45 +0800	[thread overview]
Message-ID: <469a066a0803122359y75deba08yfef566d3f378e5ad@mail.gmail.com> (raw)

[-- 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


                 reply	other threads:[~2008-03-13  6:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=469a066a0803122359y75deba08yfef566d3f378e5ad@mail.gmail.com \
    --to=wenhsuan121@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=vapier.adi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®