Skip to contentSkip to conversation

arch: remove KCORE_ELF again

PATCH Superseded Paul Bolle 3 participants 5 messages Mar 22, 2013 Tensilica Xtensa port (xtensa)

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 arch: remove KCORE_ELF again

The Kconfig symbol KCORE_ELF was removed in v2.6.0, but reappeared in two architectures. It is useless. Remove it again.

---
0) Untested.

1) Sent as one patch. Feel free to tell me to split it up in two patches.

 arch/tile/Kconfig   |  5 -----
 arch/xtensa/Kconfig | 15 ---------------
 2 files changed, 20 deletions(-)
arch/tile/Kconfig +0 -5
index 2f8ccff..18e2a81 100644
@@ -411,11 +411,6 @@ endmenu
 
 menu "Executable file formats"
 
-# only elf supported
-config KCORE_ELF
-	def_bool y
-	depends on PROC_FS
-
 source "fs/Kconfig.binfmt"
 
 endmenu
arch/xtensa/Kconfig +0 -15
index b09de49..d10b159 100644
@@ -252,21 +252,6 @@ endmenu
 
 menu "Executable file formats"
 
-# only elf supported
-config KCORE_ELF
-	def_bool y
-        depends on PROC_FS
-        help
-          If you enabled support for /proc file system then the file
-          /proc/kcore will contain the kernel core image in ELF format. This
-          can be used in gdb:
-
-          $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
-
-          This is especially useful if you have compiled the kernel with the
-          "-g" option to preserve debugging information. It is mainly used
-	  for examining kernel data structures on the live kernel.
-
 source "fs/Kconfig.binfmt"
 
 endmenu
Signature · 1 line
1.7.11.7
#1 lore raw
Quoted 7 lines · Paul Bolle

The Kconfig symbol KCORE_ELF was removed in v2.6.0, but reappeared in two architectures. It is useless. Remove it again.

---
0) Untested.

Quoted 6 lines

1) Sent as one patch. Feel free to tell me to split it up in two patches.

 arch/tile/Kconfig   |  5 -----
 arch/xtensa/Kconfig | 15 ---------------
 2 files changed, 20 deletions(-)

I took the tile part of this patch into the tile tree. Thanks!

Signature · 2 lines
Chris Metcalf, Tilera Corp.
http://www.tilera.com
maintainer
#2 lore raw
Quoted 8 lines · Chris Metcalf
Quoted 7 lines · Paul Bolle

The Kconfig symbol KCORE_ELF was removed in v2.6.0, but reappeared in two architectures. It is useless. Remove it again.

---
0) Untested.

Quoted 8 lines
Quoted 6 lines

1) Sent as one patch. Feel free to tell me to split it up in two patches.

 arch/tile/Kconfig   |  5 -----
 arch/xtensa/Kconfig | 15 ---------------
 2 files changed, 20 deletions(-)

I took the tile part of this patch into the tile tree. Thanks!

Took the rest to the xtensa tree.

Signature · 2 lines
Thanks.
-- Max
author
#3 lore raw
In reply to Chris Metcalf
Quoted 1 line · Chris Metcalf

I took the tile part of this patch into the tile tree. Thanks!

Should I (try to) remember to send future patches for tile, if any, separately?

Paul Bolle

#4 lore raw
Quoted 4 lines · Paul Bolle
Quoted 1 line · Chris Metcalf

I took the tile part of this patch into the tile tree. Thanks!

Should I (try to) remember to send future patches for tile, if any, separately?

I think it's generally slightly easier for the arch maintainers to take changes that are just for their own arch, but it's not too hard to split out the per-arch piece, either.

Signature · 2 lines
Chris Metcalf, Tilera Corp.
http://www.tilera.com