source: patches/linux-2.6.24-alpha_PAGE_SIZE-1.patch@ 7b7f61b2

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7b7f61b2 was aab67ee, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Update the kernel to 2.6.24. Add a patch to sparc64 and sparc64-64 that includes spitfire.h outside of kernel space in elf.h also install spitfire.h with the sanatized kernel headers.

  • 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.