All of lore.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

* Re: [PATCH] arch: remove KCORE_ELF again
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Chris Metcalf @ 2013-03-22 19:44 UTC (permalink / raw)
  To: Paul Bolle; +Cc: Chris Zankel, Max Filippov, linux-xtensa, linux-kernel

On 3/21/2013 8:40 PM, Paul Bolle wrote:
> 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(-)

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

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com


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

* Re: [PATCH] arch: remove KCORE_ELF again
  2013-03-22 19:44 ` Chris Metcalf
@ 2013-03-22 19:55   ` Max Filippov
  2013-03-22 19:59   ` Paul Bolle
  1 sibling, 0 replies; 5+ messages in thread
From: Max Filippov @ 2013-03-22 19:55 UTC (permalink / raw)
  To: Paul Bolle; +Cc: Chris Metcalf, Chris Zankel, linux-xtensa, linux-kernel

On Fri, Mar 22, 2013 at 11:44 PM, Chris Metcalf <cmetcalf@tilera.com> wrote:
> On 3/21/2013 8:40 PM, Paul Bolle wrote:
>> 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(-)
>
> I took the tile part of this patch into the tile tree.  Thanks!

Took the rest to the xtensa tree.

-- 
Thanks.
-- Max

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

* Re: [PATCH] arch: remove KCORE_ELF again
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Paul Bolle @ 2013-03-22 19:59 UTC (permalink / raw)
  To: Chris Metcalf; +Cc: Chris Zankel, Max Filippov, linux-xtensa, linux-kernel

On Fri, 2013-03-22 at 15:44 -0400, Chris Metcalf wrote:
> 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


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

* Re: [PATCH] arch: remove KCORE_ELF again
  2013-03-22 19:59   ` Paul Bolle
@ 2013-03-22 20:05     ` Chris Metcalf
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Metcalf @ 2013-03-22 20:05 UTC (permalink / raw)
  To: Paul Bolle; +Cc: Chris Zankel, Max Filippov, linux-xtensa, linux-kernel

On 3/22/2013 3:59 PM, Paul Bolle wrote:
> On Fri, 2013-03-22 at 15:44 -0400, Chris Metcalf wrote:
>> 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.

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com


^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.