Re: [PATCH 6/6 v5] CPU DLPAR Handling

2009-11-02 Thread Nathan Fontenot
Benjamin Herrenschmidt wrote: On Wed, 2009-10-28 at 15:59 -0500, Nathan Fontenot wrote: +#ifdef CONFIG_ARCH_CPU_PROBE_RELEASE +static ssize_t cpu_probe(const char *buf, size_t count) dlpar_cpu_probe() pls +static ssize_t cpu_release(const char *buf, size_t count) +{ Ditto. Or else in sys

Re: [PATCH 6/6 v5] CPU DLPAR Handling

2009-10-28 Thread Benjamin Herrenschmidt
On Wed, 2009-10-28 at 15:59 -0500, Nathan Fontenot wrote: > +#ifdef CONFIG_ARCH_CPU_PROBE_RELEASE > +static ssize_t cpu_probe(const char *buf, size_t count) dlpar_cpu_probe() pls > +static ssize_t cpu_release(const char *buf, size_t count) > +{ Ditto. Or else in system.map, backtraces, etc...

[PATCH 6/6 v5] CPU DLPAR Handling

2009-10-28 Thread Nathan Fontenot
Register the pseries specific handler for the powerpc architecture handlers for the cpu probe and release files. This also implements the cpu DLPAR addition and removal of CPUS from the system. Signed-off-by: Nathan Fontenot --- Index: powerpc/arch/powerpc/platforms/pseries/dlpar.c ===