* [PATCH] remove availability for PAGE_SIZE and friends (x86-64)
@ 2007-03-06 16:32 David Brown
0 siblings, 0 replies; only message in thread
From: David Brown @ 2007-03-06 16:32 UTC (permalink / raw)
To: Linux Kernel Mailing List
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-06 16:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-06 16:32 [PATCH] remove availability for PAGE_SIZE and friends (x86-64) David Brown
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®