2002-10-04 18:41:58

by Denis Zaitsev

[permalink] [raw]
Subject: [PATCH] [TRIVIAL] 2.5.40 APM module: unresolved cpu_gdt_table

This patch fixes the "unresolved cpu_gdt_table" error for the APM
module. Please, apply it. (I suspect that smth. like is already
applied...)


--- arch/i386/kernel/i386_ksyms.c.orig Thu Oct 3 23:34:55 2002
+++ arch/i386/kernel/i386_ksyms.c Fri Oct 4 10:00:28 2002
@@ -38,6 +38,8 @@
EXPORT_SYMBOL(machine_real_restart);
extern void default_idle(void);
EXPORT_SYMBOL(default_idle);
+extern struct desc_struct cpu_gdt_table[][];
+EXPORT_SYMBOL(cpu_gdt_table);
#endif

#ifdef CONFIG_SMP