]> git.hungrycats.org Git - linux/commitdiff
[PATCH] sparc32: reinstate smp_reschedule_irq()
authorWilliam Lee Irwin III <wli@holomorphy.com>
Sat, 7 Aug 2004 07:53:42 +0000 (00:53 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 7 Aug 2004 07:53:42 +0000 (00:53 -0700)
smp_reschedule_irq() mysteriously vanished sometime after 2.4.  This patch
reinstates it so that the kernel will link properly and so cpus will set
TIF_NEED_RESCHED when it's asked of them.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sparc/kernel/smp.c

index fd065fb3e00c73a587e1f1930d91ca8150ed1214..ff1c398d61911dce66636db584f680c9be75626d 100644 (file)
@@ -203,6 +203,11 @@ void smp_flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
        }
 }
 
+void smp_reschedule_irq(void)
+{
+       set_need_resched();
+}
+
 void smp_flush_page_to_ram(unsigned long page)
 {
        /* Current theory is that those who call this are the one's