Re: [PATCH] kgdb:unify x86-kgdb

From: Jason Wessel
Date: Thu Jan 17 2008 - 09:36:19 EST


Jan Kiszka wrote:
> diff -up arch/x86/kernel/kgdb_32.c arch/x86/kernel/kgdb_64.c
>
> screamed for unification. Here it is.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
>
> ---
> arch/x86/kernel/Makefile_32 | 2
> arch/x86/kernel/Makefile_64 | 2
> arch/x86/kernel/kgdb.c | 561 ++++++++++++++++++++++++++++++++++++++++++++
> arch/x86/kernel/kgdb_32.c | 414 --------------------------------
> arch/x86/kernel/kgdb_64.c | 495 --------------------------------------
> 5 files changed, 563 insertions(+), 911 deletions(-)
>
FYI this is already done in the head branch for kgdb which is going into
the -mm tree. You will see the new patch set in the 2.6.25-rcX series.

There is now a single x86-lite.patch which contains a number of other
modifications to the core-lite.patch to make use of
probe_kernel_address() and a new function probe_kernel_write(). Also
the die hooks for the "no context" memory faults were removed.

Jason.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/