lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 6 Mar 2007 08:32:41 -0800 From: "David Brown" <dmlb2000@...il.com> To: "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org> Subject: [PATCH] remove availability for PAGE_SIZE and friends (x86-64) 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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists