patch-2.1.115 linux/arch/alpha/kernel/smp.c

Next file: linux/arch/alpha/mm/init.c
Previous file: linux/arch/alpha/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.114/linux/arch/alpha/kernel/smp.c linux/arch/alpha/kernel/smp.c
@@ -1,4 +1,3 @@
-#include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/kernel_stat.h>
@@ -336,10 +335,8 @@
 
 #ifdef NOT_YET
         clear_profile_irq(mid_xlate[cpu]);
-#ifdef CONFIG_PROFILE
         if(!user_mode(regs))
-		sparc_do_profile(regs->pc);
-#endif
+		alpha_do_profile(regs->pc);
 #endif
 
         if (!--prof_counter[cpu]) {
@@ -349,7 +346,7 @@
 
                         if (--current->counter < 0) {
 				current->counter = 0;
-                                need_resched = 1;
+                                current->need_resched = 1;
                         }
 
                         spin_lock(&ticker_lock);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov