Package: thinkpad-source Version: 5.8-4 Severity: minor Tags: patch Hello,
The following patch updates thinkpad-source for kernel 2.6.12.
Thanks,
Ken
--- old/modules/thinkpad/2.6/drivers/thinkpadpm.c 2004-09-19
05:32:57.000000000 -0400
+++ new/modules/thinkpad/2.6/drivers/thinkpadpm.c 2005-06-21
12:55:00.000000000 -0400
@@ -170,9 +170,12 @@
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,9)
#define get_gdt_table() (cpu_gdt_table[get_cpu()])
#define put_gdt_table() put_cpu()
-#else
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12)
#define get_gdt_table() (get_cpu_ptr(cpu_gdt_table))
#define put_gdt_table() put_cpu_ptr(cpu_gdt_table)
+#else
+#define get_gdt_table() (per_cpu_ptr(cpu_gdt_table, get_cpu()))
+#define put_gdt_table() put_cpu()
#endif
/**
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=C, LC_CTYPE=en_US.iso88591 (charmap=ISO-8859-1)
Versions of packages thinkpad-source depends on:
ii debhelper 4.9.1 helper programs for debian/rules
ii devscripts 2.8.14 Scripts to make the life of a Debi
ii gcc [c-compiler] 4:3.3.5-3 The GNU C compiler
ii gcc-3.3 [c-compiler] 1:3.3.6-6 The GNU C compiler
ii make 3.80-9 The GNU version of the "make" util
Versions of packages thinkpad-source recommends:
ii dpkg-dev 1.13.9 Package building tools for Debian
ii kernel-package 9.001 A utility for building Linux kerne
-- no debconf information
--
signature.asc
Description: Digital signature

