source: patches/linux-2.6.24-elf_spitfire_fix-1.patch@ aab67ee

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

Update the kernel to 2.6.24. Add a patch to sparc64 and sparc64-64 that includes spitfire.h outside of kernel space in elf.h also install spitfire.h with the sanatized kernel headers.

  • Property mode set to 100644
File size: 2.0 KB
  • include/asm-sparc64/elf.h

    Submitted By: Joe Ciccone <jciccone@gmail.com>
    Date: 2008-02-03
    Initial Package Version: 2.6.24
    Upstream Status: Not Submitted
    Origin: Joe Ciccone
    Description: Ensure that spitfire.h is available for asm-sparc64/elf.h and
                 ensure that the same header also includes spitfire.h out of
                 kernel space.
    
    diff -Naur linux-2.6.24.orig/include/asm-sparc64/elf.h linux-2.6.24/include/asm-sparc64/elf.h
    old new  
    1010#ifdef __KERNEL__
    1111#include <asm/processor.h>
    1212#include <asm/uaccess.h>
    13 #include <asm/spitfire.h>
    1413#endif
     14#include <asm/spitfire.h>
    1515
    1616/*
    1717 * Sparc section types
  • include/asm-sparc64/Kbuild

    diff -Naur linux-2.6.24.orig/include/asm-sparc64/Kbuild linux-2.6.24/include/asm-sparc64/Kbuild
    old new  
    1616header-y += psrcompat.h
    1717header-y += pstate.h
    1818header-y += reg.h
     19header-y += spitfire.h
    1920header-y += uctx.h
    2021header-y += utrap.h
    2122header-y += watchdog.h
  • include/asm-sparc64/Kbuild.orig

    diff -Naur linux-2.6.24.orig/include/asm-sparc64/Kbuild.orig linux-2.6.24/include/asm-sparc64/Kbuild.orig
    old new  
     1include include/asm-generic/Kbuild.asm
     2
     3ALTARCH := sparc
     4ARCHDEF := defined __sparc__ && defined __arch64__
     5ALTARCHDEF := defined __sparc__ && !defined __arch64__
     6
     7header-y += apb.h
     8header-y += asi.h
     9header-y += bbc.h
     10header-y += bpp.h
     11header-y += display7seg.h
     12header-y += envctrl.h
     13header-y += openprom.h
     14header-y += openpromio.h
     15header-y += pconf.h
     16header-y += psrcompat.h
     17header-y += pstate.h
     18header-y += reg.h
     19header-y += uctx.h
     20header-y += utrap.h
     21header-y += watchdog.h
     22
     23unifdef-y += fbio.h
     24unifdef-y += perfctr.h
Note: See TracBrowser for help on using the repository browser.