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