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
RevLine 
[aab67ee]1Submitted By: Joe Ciccone <jciccone@gmail.com>
2Date: 2008-02-03
3Initial Package Version: 2.6.24
4Upstream Status: Not Submitted
5Origin: Joe Ciccone
6Description: Ensure that spitfire.h is available for asm-sparc64/elf.h and
7 ensure that the same header also includes spitfire.h out of
8 kernel space.
9
10diff -Naur linux-2.6.24.orig/include/asm-sparc64/elf.h linux-2.6.24/include/asm-sparc64/elf.h
11--- linux-2.6.24.orig/include/asm-sparc64/elf.h 2008-01-24 17:58:37.000000000 -0500
12+++ linux-2.6.24/include/asm-sparc64/elf.h 2008-02-03 12:35:17.000000000 -0500
13@@ -10,8 +10,8 @@
14 #ifdef __KERNEL__
15 #include <asm/processor.h>
16 #include <asm/uaccess.h>
17-#include <asm/spitfire.h>
18 #endif
19+#include <asm/spitfire.h>
20
21 /*
22 * Sparc section types
23diff -Naur linux-2.6.24.orig/include/asm-sparc64/Kbuild linux-2.6.24/include/asm-sparc64/Kbuild
24--- linux-2.6.24.orig/include/asm-sparc64/Kbuild 2008-01-24 17:58:37.000000000 -0500
25+++ linux-2.6.24/include/asm-sparc64/Kbuild 2008-02-03 12:35:17.000000000 -0500
26@@ -16,6 +16,7 @@
27 header-y += psrcompat.h
28 header-y += pstate.h
29 header-y += reg.h
30+header-y += spitfire.h
31 header-y += uctx.h
32 header-y += utrap.h
33 header-y += watchdog.h
34diff -Naur linux-2.6.24.orig/include/asm-sparc64/Kbuild.orig linux-2.6.24/include/asm-sparc64/Kbuild.orig
35--- linux-2.6.24.orig/include/asm-sparc64/Kbuild.orig 1969-12-31 19:00:00.000000000 -0500
36+++ linux-2.6.24/include/asm-sparc64/Kbuild.orig 2008-01-24 17:58:37.000000000 -0500
37@@ -0,0 +1,24 @@
38+include include/asm-generic/Kbuild.asm
39+
40+ALTARCH := sparc
41+ARCHDEF := defined __sparc__ && defined __arch64__
42+ALTARCHDEF := defined __sparc__ && !defined __arch64__
43+
44+header-y += apb.h
45+header-y += asi.h
46+header-y += bbc.h
47+header-y += bpp.h
48+header-y += display7seg.h
49+header-y += envctrl.h
50+header-y += openprom.h
51+header-y += openpromio.h
52+header-y += pconf.h
53+header-y += psrcompat.h
54+header-y += pstate.h
55+header-y += reg.h
56+header-y += uctx.h
57+header-y += utrap.h
58+header-y += watchdog.h
59+
60+unifdef-y += fbio.h
61+unifdef-y += perfctr.h
Note: See TracBrowser for help on using the repository browser.