source: patches/linux-2.6.23.12-alpha_PAGE_SIZE-1.patch@ f658089

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

Add a patch to the kernel that defines PAGE_SIZE for userspace for alpha.

  • Property mode set to 100644
File size: 729 bytes
RevLine 
[9915fd89]1diff -Naur linux-2.6.23.1.orig/include/asm-alpha/page.h linux-2.6.23.1/include/asm-alpha/page.h
2--- linux-2.6.23.1.orig/include/asm-alpha/page.h 2007-10-12 12:43:44.000000000 -0400
3+++ linux-2.6.23.1/include/asm-alpha/page.h 2007-11-05 21:56:20.000000000 -0500
4@@ -1,15 +1,15 @@
5 #ifndef _ALPHA_PAGE_H
6 #define _ALPHA_PAGE_H
7
8+/* PAGE_SHIFT determines the page size */
9+#define PAGE_SHIFT 13
10+#define PAGE_SIZE (1UL << PAGE_SHIFT)
11+#define PAGE_MASK (~(PAGE_SIZE-1))
12+
13 #ifdef __KERNEL__
14
15 #include <asm/pal.h>
16
17-/* PAGE_SHIFT determines the page size */
18-#define PAGE_SHIFT 13
19-#define PAGE_SIZE (1UL << PAGE_SHIFT)
20-#define PAGE_MASK (~(PAGE_SIZE-1))
21-
22 #ifndef __ASSEMBLY__
23
24 #define STRICT_MM_TYPECHECKS
Note: See TracBrowser for help on using the repository browser.