source: patches/linux-2.6.24.7-alpha_PAGE_SIZE-2.patch@ 43f755b

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

Bump the Linux Alpha PAGE_SIZE patch to -2.

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