mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David Brown" <dmlb2000@gmail.com>
To: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: [PATCH] remove availability for PAGE_SIZE and friends (x86-64)
Date: Tue, 6 Mar 2007 08:32:41 -0800	[thread overview]
Message-ID: <9c21eeae0703060832g22c12ba7od5abfb5216b0b973@mail.gmail.com> (raw)

Same patch as the i386 one only for the x86_64 architecture

Thanks,
- David Brown

diff --git a/include/asm-x86_64/page.h b/include/asm-x86_64/page.h
index 10f3461..c5f0097 100644
--- a/include/asm-x86_64/page.h
+++ b/include/asm-x86_64/page.h
@@ -1,6 +1,7 @@
 #ifndef _X86_64_PAGE_H
 #define _X86_64_PAGE_H

+#ifdef __KERNEL__

 /* PAGE_SHIFT determines the page size */
 #define PAGE_SHIFT     12
@@ -40,7 +41,6 @@
 #define HPAGE_MASK     (~(HPAGE_SIZE - 1))
 #define HUGETLB_PAGE_ORDER     (HPAGE_SHIFT - PAGE_SHIFT)

-#ifdef __KERNEL__
 #ifndef __ASSEMBLY__

 extern unsigned long end_pfn;

                 reply	other threads:[~2007-03-06 16:32 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=9c21eeae0703060832g22c12ba7od5abfb5216b0b973@mail.gmail.com \
    --to=dmlb2000@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®