Fix usage of cpumask_t on iSeries
PATCH 1/1 Fix usage of cpumask_t on iSeries
Hi,
This fixes a bit of iSeries code that hadn't been changed to reflect that cpumask_t is now a struct and not an integer type.
David
arch/ppc64/kernel/irq.c renamed from arch/ppc64/kernel/irq.c.orig +1 -2
@@ -807,11 +807,10 @@ static int prof_cpu_mask_write_proc (str {unsigned i;for (i=0 ; i<NR_CPUS ; ++i) { -if ( paca[i].prof_buffer && (new_value &1 ) ) +if ( paca[i].prof_buffer &&cpu_isset (1 , new_value) ) paca[i].prof_enabled =1 ;else paca[i].prof_enabled =0 ; - new_value >>=1 ; } }#endif