OSDN Git Service

powerpc/pseries: relocate "config DTL" so kconfig nests properly
authorCody P Schafer <cody@linux.vnet.ibm.com>
Tue, 13 May 2014 03:09:55 +0000 (20:09 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Dec 2014 04:45:42 +0000 (15:45 +1100)
Moving config DTL up so it is below config PPC_SPLPAR means that
menuconfig will show config DTL nicely indented right below config
PPC_SPLPAR when PPC_SPLPAR is enabled.

To contrast that, right now if I enable PPC_SPLPAR in menuconfig, all I
can immediately tell is that "something showed up further down the list
where I wasn't looking", and I end up having to toggle the option a few
times to figure out what showed up, or look at the KConfig to find out
that config DTL depends on config PPC_SPLPAR.

Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/Kconfig

index 756b482..a758a9c 100644 (file)
@@ -34,6 +34,16 @@ config PPC_SPLPAR
          processors, that is, which share physical processors between
          two or more partitions.
 
+config DTL
+       bool "Dispatch Trace Log"
+       depends on PPC_SPLPAR && DEBUG_FS
+       help
+         SPLPAR machines can log hypervisor preempt & dispatch events to a
+         kernel buffer. Saying Y here will enable logging these events,
+         which are accessible through a debugfs file.
+
+         Say N if you are unsure.
+
 config PSERIES_MSI
        bool
        depends on PCI_MSI && PPC_PSERIES && EEH
@@ -123,13 +133,3 @@ config HV_PERF_CTRS
          systems. 24x7 is available on Power 8 systems.
 
           If unsure, select Y.
-
-config DTL
-       bool "Dispatch Trace Log"
-       depends on PPC_SPLPAR && DEBUG_FS
-       help
-         SPLPAR machines can log hypervisor preempt & dispatch events to a
-         kernel buffer. Saying Y here will enable logging these events,
-         which are accessible through a debugfs file.
-
-         Say N if you are unsure.