source: patches/linux-2.6.23.12-alpha_PAGE_SIZE-1.patch@ 96cbcec

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 96cbcec was 9915fd89, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Add a patch to the kernel that defines PAGE_SIZE for userspace for alpha.

  • Property mode set to 100644
File size: 729 bytes
  • include/asm-alpha/page.h

    diff -Naur linux-2.6.23.1.orig/include/asm-alpha/page.h linux-2.6.23.1/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       (1UL << PAGE_SHIFT)
     7#define PAGE_MASK       (~(PAGE_SIZE-1))
     8
    49#ifdef __KERNEL__
    510
    611#include <asm/pal.h>
    712
    8 /* PAGE_SHIFT determines the page size */
    9 #define PAGE_SHIFT      13
    10 #define PAGE_SIZE       (1UL << PAGE_SHIFT)
    11 #define PAGE_MASK       (~(PAGE_SIZE-1))
    12 
    1313#ifndef __ASSEMBLY__
    1414
    1515#define STRICT_MM_TYPECHECKS
Note: See TracBrowser for help on using the repository browser.