source: patches/linux-2.6.24.7-alpha_PAGE_SIZE-1.patch@ 16b6cf87

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 16b6cf87 was babda08, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Add one missing patch.

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[aab67ee]1Submitted By: Joe Ciccone <jciccone@gmail.com>
2Date: 2008-02-03
3Initial Package Version: 2.6.23
4Upstream Status: Not Submitted
5Origin: Joe Ciccone
6Description: Define PAGE_SIZE outside of ifdef __KEREL__ so it's not removed
7 when the headers are sanatized.
8
9diff -Naur linux-2.6.24.orig/include/asm-alpha/page.h linux-2.6.24/include/asm-alpha/page.h
10--- linux-2.6.24.orig/include/asm-alpha/page.h 2008-01-24 17:58:37.000000000 -0500
11+++ linux-2.6.24/include/asm-alpha/page.h 2008-02-03 12:37:59.000000000 -0500
12@@ -1,16 +1,16 @@
13 #ifndef _ALPHA_PAGE_H
14 #define _ALPHA_PAGE_H
15
16+/* PAGE_SHIFT determines the page size */
17+#define PAGE_SHIFT 13
18+#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
19+#define PAGE_MASK (~(PAGE_SIZE-1))
20+
21 #ifdef __KERNEL__
22
23 #include <linux/const.h>
24 #include <asm/pal.h>
25
26-/* PAGE_SHIFT determines the page size */
27-#define PAGE_SHIFT 13
28-#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
29-#define PAGE_MASK (~(PAGE_SIZE-1))
30-
31 #ifndef __ASSEMBLY__
32
33 #define STRICT_MM_TYPECHECKS
Note: See TracBrowser for help on using the repository browser.