On Sat, 11 Dec 1999, Andrea Arcangeli wrote:

>Alpha wasn't exporting kernel_flag to modules. Patch against 2.3.32pre2:
>
>--- 2.3.32pre2-alpha/arch/alpha/kernel/alpha_ksyms.c.~1~       Wed Dec  8 00:05:25 
>1999
>+++ 2.3.32pre2-alpha/arch/alpha/kernel/alpha_ksyms.c   Sat Dec 11 18:02:33 1999
>@@ -161,6 +161,7 @@
>  */
> 
> #ifdef __SMP__
>+EXPORT_SYMBOL(kernel_flag);
> EXPORT_SYMBOL(synchronize_irq);
> EXPORT_SYMBOL(flush_tlb_all);
> EXPORT_SYMBOL(flush_tlb_mm);

Ugh, this below _incremental_ patch is necessary too (sorry).

--- 2.3.32pre2-alpha/arch/alpha/kernel/alpha_ksyms.c.~1~        Wed Dec  8 00:05:25 
1999
+++ 2.3.32pre2-alpha/arch/alpha/kernel/alpha_ksyms.c    Sat Dec 11 18:19:26 1999
@@ -37,6 +37,7 @@
 extern void dump_thread(struct pt_regs *, struct user *);
 extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
 extern void ___delay(void);
+extern spinlock_t kernel_flag;
 
 /* these are C runtime functions with special calling conventions: */
 extern void __divl (void);

Andrea

Reply via email to