[kernel] r8808 - in dists/sid/linux-2.6/debian: . patches/bugfix/m68k patches/series
Christian T. Steigies
cts at alioth.debian.org
Sun May 27 21:02:19 UTC 2007
Author: cts
Date: Sun May 27 21:02:19 2007
New Revision: 8808
Log:
atari isa and scsi fixes
Added:
dists/sid/linux-2.6/debian/patches/bugfix/m68k/m68k-undefined-module_fixup.diff
dists/sid/linux-2.6/debian/patches/series/5-extra
Modified:
dists/sid/linux-2.6/debian/changelog
Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog (original)
+++ dists/sid/linux-2.6/debian/changelog Sun May 27 21:02:19 2007
@@ -1,3 +1,9 @@
+linux-2.6 (2.6.21-5) UNRELEASED; urgency=low
+
+ * [m68k] Add atari isa and scsi fixes
+
+ -- Christian T. Steigies <cts at debian.org> Sun, 27 May 2007 23:00:17 +0200
+
linux-2.6 (2.6.21-4) unstable; urgency=low
* [powerpc] Fix mkvmlinuz support.
Added: dists/sid/linux-2.6/debian/patches/bugfix/m68k/m68k-undefined-module_fixup.diff
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/bugfix/m68k/m68k-undefined-module_fixup.diff Sun May 27 21:02:19 2007
@@ -0,0 +1,60 @@
+Subject: m68k: module_fixup() is needed by non-modular kernels, too
+
+m68k: Fix linking of non-modular kernels by moving module_fixup() from
+arch/m68k/kernel/module.c to arch/m68k/kernel/setup.c
+
+Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
+---
+ arch/m68k/kernel/module.c | 17 -----------------
+ arch/m68k/kernel/setup.c | 17 +++++++++++++++++
+ 2 files changed, 17 insertions(+), 17 deletions(-)
+
+--- a/arch/m68k/kernel/module.c
++++ b/arch/m68k/kernel/module.c
+@@ -122,23 +122,6 @@ int apply_relocate_add(Elf32_Shdr *sechd
+ return 0;
+ }
+
+-void module_fixup(struct module *mod, struct m68k_fixup_info *start,
+- struct m68k_fixup_info *end)
+-{
+- struct m68k_fixup_info *fixup;
+-
+- for (fixup = start; fixup < end; fixup++) {
+- switch (fixup->type) {
+- case m68k_fixup_memoffset:
+- *(u32 *)fixup->addr = m68k_memoffset;
+- break;
+- case m68k_fixup_vnode_shift:
+- *(u16 *)fixup->addr += m68k_virt_to_node_shift;
+- break;
+- }
+- }
+-}
+-
+ int module_finalize(const Elf_Ehdr *hdr,
+ const Elf_Shdr *sechdrs,
+ struct module *mod)
+--- a/arch/m68k/kernel/setup.c
++++ b/arch/m68k/kernel/setup.c
+@@ -505,3 +505,20 @@ static int __init adb_probe_sync_enable
+
+ __setup("adb_sync", adb_probe_sync_enable);
+ #endif /* CONFIG_ADB */
++
++void module_fixup(struct module *mod, struct m68k_fixup_info *start,
++ struct m68k_fixup_info *end)
++{
++ struct m68k_fixup_info *fixup;
++
++ for (fixup = start; fixup < end; fixup++) {
++ switch (fixup->type) {
++ case m68k_fixup_memoffset:
++ *(u32 *)fixup->addr = m68k_memoffset;
++ break;
++ case m68k_fixup_vnode_shift:
++ *(u16 *)fixup->addr += m68k_virt_to_node_shift;
++ break;
++ }
++ }
++}
Added: dists/sid/linux-2.6/debian/patches/series/5-extra
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/series/5-extra Sun May 27 21:02:19 2007
@@ -0,0 +1,3 @@
++ bugfix/m68k/debian-2.6.21-2-atari-scsi.diff m68k
++ bugfix/m68k/debian-2.6.21-2-rom-isa.diff m68k
++ bugfix/m68k/m68k-undefined-module_fixup.diff m68k
More information about the Kernel-svn-changes
mailing list