[PATCH] PowerPC: Fix num_cpus calculation in smp_call_function_map()

2007-07-31 Thread Kevin Corry
ned-off-by: Kevin Corry <[EMAIL PROTECTED]> Signed-off-by: Carl Love <[EMAIL PROTECTED]> Index: linux-2.6.23-rc1/arch/powerpc/kernel/smp.c === --- linux-2.6.23-rc1.orig/arch/powerpc/kernel/smp.c +++ linux-2.6.23-rc1/arc

Re: [PATCH 2/2] powerpc: change topology_init() to a subsys_initcall

2007-05-03 Thread Kevin Corry
Hi Michael, On Wed May 2 2007 8:11 pm, Michael Ellerman wrote: > On Wed, 2007-05-02 at 12:11 -0500, Kevin Corry wrote: > > Change the powerpc version of topology_init() from an __initcall to > > a subsys_initcall to match all other architectures. > > > > Signed-

[PATCH 1/2] powerpc: add smp_call_function_single()

2007-05-02 Thread Kevin Corry
now explicitly calls preempt_disable() before getting the count of online CPUs. Signed-off-by: Kevin Corry <[EMAIL PROTECTED]> Index: linux-2.6.21/arch/powerpc/kernel/smp.c === --- linux-2.6.21.orig/arch/powerpc/kernel/smp.c +++ li

[PATCH 2/2] powerpc: change topology_init() to a subsys_initcall

2007-05-02 Thread Kevin Corry
Change the powerpc version of topology_init() from an __initcall to a subsys_initcall to match all other architectures. Signed-off-by: Kevin Corry <[EMAIL PROTECTED]> Index: linux-2.6.21/arch/powerpc/kernel/sysfs.c === ---

[PATCH 0/2] powerpc: perfmon2 prereqs

2007-05-02 Thread Kevin Corry
e perfmon2 core ran its __initcall routine. We have been running tests with these patches for the last few weeks on Cell and Power5 systems without any problems. Thanks, -- Kevin Corry [EMAIL PROTECTED] http://www.ibm.com/linux/ - To unsubscribe from this list: send the line "unsubscribe

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
On Thu April 5 2007 6:04 pm, Benjamin Herrenschmidt wrote: > On Thu, 2007-04-05 at 14:55 -0500, Kevin Corry wrote: > > First, the stock 2.6.20 kernel has a prototype in include/linux/smp.h for > > a function called smp_call_function_single(). However, this routine is > > onl

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
On Thu April 5 2007 3:32 pm, Kevin Corry wrote: > On Thu April 5 2007 3:08 pm, Arnd Bergmann wrote: > > On Thursday 05 April 2007, Kevin Corry wrote: > > > First, the stock 2.6.20 kernel has a prototype in include/linux/smp.h > > > for a function called smp_call_funct

Re: Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
On Thu April 5 2007 3:08 pm, Arnd Bergmann wrote: > On Thursday 05 April 2007, Kevin Corry wrote: > > First, the stock 2.6.20 kernel has a prototype in include/linux/smp.h for > > a function called smp_call_function_single(). However, this routine is > > only implemented on i3

Questions about porting perfmon2 to powerpc

2007-04-05 Thread Kevin Corry
f that is going to cause problems elsewhere in the powerpc code. I've included the patch below (after the smp-call-function-single patch). Does anyone know if this change is safe, or if there was a specific reason that topology_init() was left as an __initcall() on powerpc? Thanks for you

Re: device-mapper: fix TB stripe data corruption

2005-01-21 Thread Kevin Corry
to be exactly what we needed. Here's a different version of Alasdair's patch that changes chunk to 64-bit and uses do_div(). -- Kevin Corry [EMAIL PROTECTED] http://evms.sourceforge.net/ In stripe_map(), change chunk to 64-bit and use do_div to divide and mod by the number of stripes.

Re: device-mapper: fix TB stripe data corruption

2005-01-21 Thread Kevin Corry
, and get the following error: MODPOST *** Warning: "__udivdi3" [drivers/md/dm-mod.ko] undefined! *** Warning: "__umoddi3" [drivers/md/dm-mod.ko] undefined! -- Kevin Corry [EMAIL PROTECTED] http://evms.sourceforge.net/ - To unsubscribe from this list: send the line &qu