public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arch: remove KCORE_ELF again
@ 2013-03-22  0:40 Paul Bolle
  2013-03-22 19:44 ` Chris Metcalf
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Bolle @ 2013-03-22  0:40 UTC (permalink / raw)
  To: Chris Metcalf, Chris Zankel, Max Filippov; +Cc: linux-xtensa, linux-kernel

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

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
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(-)

diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig
index 2f8ccff..18e2a81 100644
--- a/arch/tile/Kconfig
+++ b/arch/tile/Kconfig
@@ -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
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index b09de49..d10b159 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -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
-- 
1.7.11.7


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-22 20:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-22  0:40 [PATCH] arch: remove KCORE_ELF again Paul Bolle
2013-03-22 19:44 ` Chris Metcalf
2013-03-22 19:55   ` Max Filippov
2013-03-22 19:59   ` Paul Bolle
2013-03-22 20:05     ` Chris Metcalf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox