Skip to content

MN10300: Remove dead code depending on DEPRECATED

Paul Bolle lkml 1 version In review

Get series with b4
b4 am 1411065089.2017.72.camel@x220

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5MN10300: Remove Kconfig symbol GDBSTUBarch/mn10300/Kconfig.debug+0 -150 replies
2/5MN10300: Remove Kconfig symbols depending on GDBSTUBarch/mn10300/Kconfig.debug+1 -1040 replies
3/5MN10300: Remove all checks for CONFIG_GDBSTUBarch/mn10300/kernel/Makefile arch/mn10300/kernel/entry.S arch/mn10300/kernel/gdb-low.S +7 more+1 -21150 replies
4/5MN10300: Remove checks for GDBSTUB related Kconfig macrosarch/mn10300/boot/compressed/misc.c arch/mn10300/include/asm/gdb-stub.h arch/mn10300/kernel/Makefile +10 more+0 -9470 replies
5/5MN10300: Remove remnants of gdbstubarch/mn10300/Kconfig arch/mn10300/include/asm/exceptions.h arch/mn10300/include/asm/gdb-stub.h +11 more+14 -2120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] MN10300: Remove dead code depending on DEPRECATED

0) Raised before in
https://www.redhat.com/archives/linux-am33-list/2011-November/msg00007.html .

1) Discussed, at length, in https://lkml.org/lkml/2014/2/9/164 .

2) Compile tested only (on top of next-20140918, using arch/mn10300/configs/asb2303_defconfig).

3) Logically this should be one humongous patch. It is split into five patches to ease review. Review, or actually any reaction whatsoever, would be appreciated.

4) The last patch was basically done by checking the output of

    git grep -i gdb.*stub arch/mn10300

and make educated guesses.

Paul Bolle (5):
MN10300: Remove Kconfig symbol GDBSTUB
MN10300: Remove Kconfig symbols depending on GDBSTUB
MN10300: Remove all checks for CONFIG_GDBSTUB
MN10300: Remove checks for GDBSTUB related Kconfig macros
MN10300: Remove remnants of gdbstub

 arch/mn10300/Kconfig                            |    6 +-
 arch/mn10300/Kconfig.debug                      |  120 +-
 arch/mn10300/boot/compressed/misc.c             |    9 -
 arch/mn10300/include/asm/exceptions.h           |    7 -
 arch/mn10300/include/asm/gdb-stub.h             |  182 ---
 arch/mn10300/kernel/Makefile                    |    3 -
 arch/mn10300/kernel/entry.S                     |   21 -
 arch/mn10300/kernel/gdb-io-serial-low.S         |   91 --
 arch/mn10300/kernel/gdb-io-serial.c             |  174 --
 arch/mn10300/kernel/gdb-io-ttysm-low.S          |   93 --
 arch/mn10300/kernel/gdb-io-ttysm.c              |  303 ----
 arch/mn10300/kernel/gdb-low.S                   |  115 --
 arch/mn10300/kernel/gdb-stub.c                  | 1923 -----------------------
 arch/mn10300/kernel/head.S                      |   10 -
 arch/mn10300/kernel/mn10300-serial.c            |   28 +-
 arch/mn10300/kernel/mn10300-serial.h            |   15 -
 arch/mn10300/kernel/mn10300-watchdog.c          |   14 +-
 arch/mn10300/kernel/process.c                   |   11 -
 arch/mn10300/kernel/profile.c                   |    2 -
 arch/mn10300/kernel/smp-low.S                   |    4 -
 arch/mn10300/kernel/smp.c                       |    7 -
 arch/mn10300/kernel/traps.c                     |    4 +-
 arch/mn10300/mm/fault.c                         |    9 -
 arch/mn10300/mm/misalignment.c                  |    1 -
 arch/mn10300/mm/tlb-mn10300.S                   |   14 -
 arch/mn10300/unit-asb2303/include/unit/serial.h |   85 -
 arch/mn10300/unit-asb2303/unit-init.c           |    4 +-
 arch/mn10300/unit-asb2305/include/unit/serial.h |   78 -
 arch/mn10300/unit-asb2305/unit-init.c           |    6 +-
 arch/mn10300/unit-asb2364/include/unit/serial.h |   66 -
 arch/mn10300/unit-asb2364/unit-init.c           |    4 +-
 31 files changed, 16 insertions(+), 3393 deletions(-)
 delete mode 100644 arch/mn10300/include/asm/gdb-stub.h
 delete mode 100644 arch/mn10300/kernel/gdb-io-serial-low.S
 delete mode 100644 arch/mn10300/kernel/gdb-io-serial.c
 delete mode 100644 arch/mn10300/kernel/gdb-io-ttysm-low.S
 delete mode 100644 arch/mn10300/kernel/gdb-io-ttysm.c
 delete mode 100644 arch/mn10300/kernel/gdb-low.S
 delete mode 100644 arch/mn10300/kernel/gdb-stub.c
Signature · 1 line
1.9.3