[PATCH 1/6] Move code patching code into arch/powerpc/lib/code-patching.c
Kumar Gala
galak at kernel.crashing.org
Thu Jun 19 16:15:56 EST 2008
On May 29, 2008, at 1:20 AM, Michael Ellerman wrote:
> We currently have a few routines for patching code in asm/system.h,
> because
> they didn't fit anywhere else. I'd like to clean them up a little
> and add
> some more, so first move them into a dedicated C file - they don't
> need to
> be inlined.
>
> While we're moving the code, drop create_function_call(), it's
> intended
> caller never got merged and will be replaced in future with something
> different.
>
> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
> ---
> arch/powerpc/kernel/crash_dump.c | 1 +
> arch/powerpc/lib/Makefile | 2 +
> arch/powerpc/lib/code-patching.c | 33 ++++++++++++++++++++
> arch/powerpc/platforms/86xx/mpc86xx_smp.c | 1 +
> arch/powerpc/platforms/powermac/smp.c | 1 +
> include/asm-powerpc/code-patching.h | 25 +++++++++++++++
> include/asm-powerpc/system.h | 48
> -----------------------------
> 7 files changed, 63 insertions(+), 48 deletions(-)
>
> diff --git a/arch/powerpc/kernel/crash_dum
what's the state of these patches and getting them into powerpc-next?
I'm looking at some runtime fix ups that I was thinking of basing on
this code.
- k
More information about the Linuxppc-dev
mailing list