From: Nicholas Krause <xerofoify@gmail.com>
To: cmetcalf@tilera.com
Cc: hannes@cmpxchg.org, mhocko@suse.cz, akpm@linux-foundation.org,
zlu@tilera.com, linux-kernel@vger.kernel.org
Subject: [PATCH] title: no lookup_page for if statement
Date: Mon, 14 Jul 2014 14:49:42 -0400 [thread overview]
Message-ID: <1405363782-6570-1-git-send-email-xerofoify@gmail.com> (raw)
This patch removes the if define statement for page_lookup in order
to remove a fix me of this not being defined as of yet.
Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
---
0001-title-no-lookup_page-for-if-statement.patch | 37 ++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 0001-title-no-lookup_page-for-if-statement.patch
diff --git a/0001-title-no-lookup_page-for-if-statement.patch b/0001-title-no-lookup_page-for-if-statement.patch
new file mode 100644
index 0000000..f11c12e
--- /dev/null
+++ b/0001-title-no-lookup_page-for-if-statement.patch
@@ -0,0 +1,37 @@
+From 23c4afac6742d5df1d083ab6335a0a69f38c76b0 Mon Sep 17 00:00:00 2001
+From: Nicholas Krause <xerofoify@gmail.com>
+Date: Mon, 14 Jul 2014 14:39:02 -0400
+Subject: [PATCH] title: no lookup_page for if statement
+
+This patch removes the if define statement for page_lookup in order
+to remove a fix me of this not being defined as of yet.
+
+Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
+---
+ arch/tile/mm/fault.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/arch/tile/mm/fault.c b/arch/tile/mm/fault.c
+index 6c05712..2297bf7 100644
+--- a/arch/tile/mm/fault.c
++++ b/arch/tile/mm/fault.c
+@@ -513,8 +513,6 @@ no_context:
+
+ bust_spinlocks(1);
+
+- /* FIXME: no lookup_address() yet */
+-#ifdef SUPPORT_LOOKUP_ADDRESS
+ if (fault_num == INT_ITLB_MISS) {
+ pte_t *pte = lookup_address(address);
+
+@@ -523,7 +521,6 @@ no_context:
+ " non-executable page - exploit attempt?"
+ " (uid: %d)\n", current->uid);
+ }
+-#endif
+ if (address < PAGE_SIZE)
+ pr_alert("Unable to handle kernel NULL pointer dereference\n");
+ else
+--
+1.9.1
+
--
1.9.1
next reply other threads:[~2014-07-14 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-14 18:49 Nicholas Krause [this message]
2014-07-14 18:59 ` Paul Bolle
2014-07-14 19:10 ` Nick Krause
2014-07-14 19:35 ` Chris Metcalf
2014-07-17 0:50 ` Nick Krause
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=1405363782-6570-1-git-send-email-xerofoify@gmail.com \
--to=xerofoify@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=cmetcalf@tilera.com \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhocko@suse.cz \
--cc=zlu@tilera.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®