[PATCH] Accurate task and cpu time accounting

Paul Mackerras paulus at samba.org
Thu Feb 23 15:12:52 EST 2006


Olaf Hering writes:

> This change fixes it. But it will not link 32bit:

I didn't notice that stuff was inside an #ifdef CONFIG_PPC64 block.
Easily fixed...

Paul.

diff -urN a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
--- a/arch/powerpc/kernel/irq.c	2006-02-22 09:44:33.000000000 +1100
+++ b/arch/powerpc/kernel/irq.c	2006-02-23 15:10:51.000000000 +1100
@@ -371,6 +371,7 @@
 	return NO_IRQ;
 
 }
+#endif /* CONFIG_PPC64 */
 
 #ifdef CONFIG_IRQSTACKS
 struct thread_info *softirq_ctx[NR_CPUS];
@@ -430,6 +431,7 @@
 }
 EXPORT_SYMBOL(do_softirq);
 
+#ifdef CONFIG_PPC64
 static int __init setup_noirqdistrib(char *str)
 {
 	distribute_irqs = 0;



More information about the Linuxppc64-dev mailing list