+ kconfig-remove-have_latencytop_support.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: Kconfig: remove HAVE_LATENCYTOP_SUPPORT
has been added to the -mm tree.  Its filename is
     kconfig-remove-have_latencytop_support.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/kconfig-remove-have_latencytop_support.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/kconfig-remove-have_latencytop_support.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Will Deacon <will.deacon@xxxxxxx>
Subject: Kconfig: remove HAVE_LATENCYTOP_SUPPORT

As illustrated by a3afe70b83fd ("[S390] latencytop s390 support."),
HAVE_LATENCYTOP_SUPPORT is defined by an architecture to advertise an
implementation of save_stack_trace_tsk.

However, as of 9212ddb5eada ("stacktrace: provide save_stack_trace_tsk()
weak alias") a dummy implementation is provided if STACKTRACE=y.  Given
that LATENCYTOP already depends on STACKTRACE_SUPPORT and selects
STACKTRACE, we can remove HAVE_LATENCYTOP_SUPPORT altogether.

Signed-off-by: Will Deacon <will.deacon@xxxxxxx>
Acked-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Cc: Vineet Gupta <vgupta@xxxxxxxxxxxx>
Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
Cc: James Hogan <james.hogan@xxxxxxxxxx>
Cc: Michal Simek <monstr@xxxxxxxxx>
Cc: Helge Deller <deller@xxxxxx>
Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
Cc: Guan Xuetao <gxt@xxxxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/arc/Kconfig        |    3 ---
 arch/arm/Kconfig        |    5 -----
 arch/metag/Kconfig      |    3 ---
 arch/microblaze/Kconfig |    3 ---
 arch/parisc/Kconfig     |    3 ---
 arch/powerpc/Kconfig    |    3 ---
 arch/s390/Kconfig       |    3 ---
 arch/sh/Kconfig         |    3 ---
 arch/sparc/Kconfig      |    4 ----
 arch/unicore32/Kconfig  |    3 ---
 arch/x86/Kconfig        |    3 ---
 lib/Kconfig.debug       |    1 -
 12 files changed, 37 deletions(-)

diff -puN arch/arc/Kconfig~kconfig-remove-have_latencytop_support arch/arc/Kconfig
--- a/arch/arc/Kconfig~kconfig-remove-have_latencytop_support
+++ a/arch/arc/Kconfig
@@ -73,9 +73,6 @@ config STACKTRACE_SUPPORT
 	def_bool y
 	select STACKTRACE
 
-config HAVE_LATENCYTOP_SUPPORT
-	def_bool y
-
 config HAVE_ARCH_TRANSPARENT_HUGEPAGE
 	def_bool y
 	depends on ARC_MMU_V4
diff -puN arch/arm/Kconfig~kconfig-remove-have_latencytop_support arch/arm/Kconfig
--- a/arch/arm/Kconfig~kconfig-remove-have_latencytop_support
+++ a/arch/arm/Kconfig
@@ -162,11 +162,6 @@ config STACKTRACE_SUPPORT
 	bool
 	default y
 
-config HAVE_LATENCYTOP_SUPPORT
-	bool
-	depends on !SMP
-	default y
-
 config LOCKDEP_SUPPORT
 	bool
 	default y
diff -puN arch/metag/Kconfig~kconfig-remove-have_latencytop_support arch/metag/Kconfig
--- a/arch/metag/Kconfig~kconfig-remove-have_latencytop_support
+++ a/arch/metag/Kconfig
@@ -36,9 +36,6 @@ config STACKTRACE_SUPPORT
 config LOCKDEP_SUPPORT
 	def_bool y
 
-config HAVE_LATENCYTOP_SUPPORT
-	def_bool y
-
 config RWSEM_GENERIC_SPINLOCK
 	def_bool y
 
diff -puN arch/microblaze/Kconfig~kconfig-remove-have_latencytop_support arch/microblaze/Kconfig
--- a/arch/microblaze/Kconfig~kconfig-remove-have_latencytop_support
+++ a/arch/microblaze/Kconfig
@@ -67,9 +67,6 @@ config STACKTRACE_SUPPORT
 config LOCKDEP_SUPPORT
 	def_bool y
 
-config HAVE_LATENCYTOP_SUPPORT
-	def_bool y
-
 source "init/Kconfig"
 
 source "kernel/Kconfig.freezer"
diff -puN arch/parisc/Kconfig~kconfig-remove-have_latencytop_support arch/parisc/Kconfig
--- a/arch/parisc/Kconfig~kconfig-remove-have_latencytop_support
+++ a/arch/parisc/Kconfig
@@ -79,9 +79,6 @@ config TIME_LOW_RES
 	depends on SMP
 	default y
 
-config HAVE_LATENCYTOP_SUPPORT
-        def_bool y
-
 # unless you want to implement ACPI on PA-RISC ... ;-)
 config PM
 	bool
diff -puN arch/powerpc/Kconfig~kconfig-remove-have_latencytop_support arch/powerpc/Kconfig
--- a/arch/powerpc/Kconfig~kconfig-remove-have_latencytop_support
+++ a/arch/powerpc/Kconfig
@@ -47,9 +47,6 @@ config STACKTRACE_SUPPORT
 	bool
 	default y
 
-config HAVE_LATENCYTOP_SUPPORT
-	def_bool y
-
 config TRACE_IRQFLAGS_SUPPORT
 	bool
 	default y
diff -puN arch/s390/Kconfig~kconfig-remove-have_latencytop_support arch/s390/Kconfig
--- a/arch/s390/Kconfig~kconfig-remove-have_latencytop_support
+++ a/arch/s390/Kconfig
@@ -10,9 +10,6 @@ config LOCKDEP_SUPPORT
 config STACKTRACE_SUPPORT
 	def_bool y
 
-config HAVE_LATENCYTOP_SUPPORT
-	def_bool y
-
 config RWSEM_GENERIC_SPINLOCK
 	bool
 
diff -puN arch/sh/Kconfig~kconfig-remove-have_latencytop_support arch/sh/Kconfig
--- a/arch/sh/Kconfig~kconfig-remove-have_latencytop_support
+++ a/arch/sh/Kconfig
@@ -130,9 +130,6 @@ config STACKTRACE_SUPPORT
 config LOCKDEP_SUPPORT
 	def_bool y
 
-config HAVE_LATENCYTOP_SUPPORT
-	def_bool y
-
 config ARCH_HAS_ILOG2_U32
 	def_bool n
 
diff -puN arch/sparc/Kconfig~kconfig-remove-have_latencytop_support arch/sparc/Kconfig
--- a/arch/sparc/Kconfig~kconfig-remove-have_latencytop_support
+++ a/arch/sparc/Kconfig
@@ -101,10 +101,6 @@ config LOCKDEP_SUPPORT
 	bool
 	default y if SPARC64
 
-config HAVE_LATENCYTOP_SUPPORT
-	bool
-	default y if SPARC64
-
 config ARCH_HIBERNATION_POSSIBLE
 	def_bool y if SPARC64
 
diff -puN arch/unicore32/Kconfig~kconfig-remove-have_latencytop_support arch/unicore32/Kconfig
--- a/arch/unicore32/Kconfig~kconfig-remove-have_latencytop_support
+++ a/arch/unicore32/Kconfig
@@ -33,9 +33,6 @@ config NO_IOPORT_MAP
 config STACKTRACE_SUPPORT
 	def_bool y
 
-config HAVE_LATENCYTOP_SUPPORT
-	def_bool y
-
 config LOCKDEP_SUPPORT
 	def_bool y
 
diff -puN arch/x86/Kconfig~kconfig-remove-have_latencytop_support arch/x86/Kconfig
--- a/arch/x86/Kconfig~kconfig-remove-have_latencytop_support
+++ a/arch/x86/Kconfig
@@ -177,9 +177,6 @@ config LOCKDEP_SUPPORT
 config STACKTRACE_SUPPORT
 	def_bool y
 
-config HAVE_LATENCYTOP_SUPPORT
-	def_bool y
-
 config MMU
 	def_bool y
 
diff -puN lib/Kconfig.debug~kconfig-remove-have_latencytop_support lib/Kconfig.debug
--- a/lib/Kconfig.debug~kconfig-remove-have_latencytop_support
+++ a/lib/Kconfig.debug
@@ -1564,7 +1564,6 @@ config FAULT_INJECTION_STACKTRACE_FILTER
 
 config LATENCYTOP
 	bool "Latency measuring infrastructure"
-	depends on HAVE_LATENCYTOP_SUPPORT
 	depends on DEBUG_KERNEL
 	depends on STACKTRACE_SUPPORT
 	depends on PROC_FS
_

Patches currently in -mm which might be from will.deacon@xxxxxxx are

kconfig-remove-have_latencytop_support.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux