source: patches/linux-2.6.24.7-alpha_PAGE_SIZE-2.patch@ 124823a

Last change on this file since 124823a was 67300de, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Create a clfs-1.1 branch in preperation for a RC.

  • Property mode set to 100644
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  
    11#ifndef _ALPHA_PAGE_H
    22#define _ALPHA_PAGE_H
    33
    4 #ifdef __KERNEL__
    5 
    64#include <linux/const.h>
    7 #include <asm/pal.h>
    85
    96/* 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>
    1314
    1415#ifndef __ASSEMBLY__
    1516
Note: See TracBrowser for help on using the repository browser.