source:
patches/linux-2.6.24.7-alpha_PAGE_SIZE-2.patch@
8187b7d
Last change on this file since 8187b7d was fa7d2a2, checked in by , 16 years ago | |
---|---|
|
|
File size: 1.1 KB |
-
include/asm-alpha/page.h
Submitted By: Joe Ciccone <jciccone@gmail.com> Date: 2008-02-03 Rediffed and changed on 2008-07-13 Initial Package Version: 2.6.23 Upstream Status: Not Submitted Origin: Joe Ciccone Description: Define PAGE_SIZE outside of ifdef __KERNEL__ so it's not removed when the headers are sanatized. We also need the linux/const.h for _AC diff -Naur linux-2.6.24.7.orig/include/asm-alpha/page.h linux-2.6.24.7/include/asm-alpha/page.h
old new 1 1 #ifndef _ALPHA_PAGE_H 2 2 #define _ALPHA_PAGE_H 3 3 4 #ifdef __KERNEL__5 6 4 #include <linux/const.h> 7 #include <asm/pal.h>8 5 9 6 /* PAGE_SHIFT determines the page size */ 10 #define PAGE_SHIFT 13 11 #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) 12 #define PAGE_MASK (~(PAGE_SIZE-1)) 7 #define PAGE_SHIFT 13 8 #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) 9 #define PAGE_MASK (~(PAGE_SIZE-1)) 10 11 #ifdef __KERNEL__ 12 13 #include <asm/pal.h> 13 14 14 15 #ifndef __ASSEMBLY__ 15 16
Note:
See TracBrowser
for help on using the repository browser.