source: patches/linux-2.6.24.7-alpha_PAGE_SIZE-1.patch@ 2fb3631

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

Add one missing patch.

  • Property mode set to 100644
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  
    11#ifndef _ALPHA_PAGE_H
    22#define _ALPHA_PAGE_H
    33
     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
    49#ifdef __KERNEL__
    510
    611#include <linux/const.h>
    712#include <asm/pal.h>
    813
    9 /* 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))
    13 
    1414#ifndef __ASSEMBLY__
    1515
    1616#define STRICT_MM_TYPECHECKS
Note: See TracBrowser for help on using the repository browser.