Skip to content

Commit 9f79ffc

Browse files
juerghakpm00
authored andcommitted
arch/Kconfig: fix indentation
The convention for indentation seems to be a single tab. Help text is further indented by an additional two whitespaces. Fix the lines that violate these rules. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Juerg Haefliger <[email protected]> Reviewed-by: Kees Cook <[email protected]> Cc: Dan Li <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Juerg Haefliger <[email protected]> Cc: Marco Elver <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Nick Desaulniers <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sami Tolvanen <[email protected]> Cc: Tom Rix <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 2177379 commit 9f79ffc

File tree

1 file changed

+64
-64
lines changed

1 file changed

+64
-64
lines changed

arch/Kconfig

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ config HOTPLUG_SMT
3535
bool
3636

3737
config GENERIC_ENTRY
38-
bool
38+
bool
3939

4040
config KPROBES
4141
bool "Kprobes"
@@ -55,26 +55,26 @@ config JUMP_LABEL
5555
depends on HAVE_ARCH_JUMP_LABEL
5656
select OBJTOOL if HAVE_JUMP_LABEL_HACK
5757
help
58-
This option enables a transparent branch optimization that
59-
makes certain almost-always-true or almost-always-false branch
60-
conditions even cheaper to execute within the kernel.
58+
This option enables a transparent branch optimization that
59+
makes certain almost-always-true or almost-always-false branch
60+
conditions even cheaper to execute within the kernel.
6161

62-
Certain performance-sensitive kernel code, such as trace points,
63-
scheduler functionality, networking code and KVM have such
64-
branches and include support for this optimization technique.
62+
Certain performance-sensitive kernel code, such as trace points,
63+
scheduler functionality, networking code and KVM have such
64+
branches and include support for this optimization technique.
6565

66-
If it is detected that the compiler has support for "asm goto",
67-
the kernel will compile such branches with just a nop
68-
instruction. When the condition flag is toggled to true, the
69-
nop will be converted to a jump instruction to execute the
70-
conditional block of instructions.
66+
If it is detected that the compiler has support for "asm goto",
67+
the kernel will compile such branches with just a nop
68+
instruction. When the condition flag is toggled to true, the
69+
nop will be converted to a jump instruction to execute the
70+
conditional block of instructions.
7171

72-
This technique lowers overhead and stress on the branch prediction
73-
of the processor and generally makes the kernel faster. The update
74-
of the condition is slower, but those are always very rare.
72+
This technique lowers overhead and stress on the branch prediction
73+
of the processor and generally makes the kernel faster. The update
74+
of the condition is slower, but those are always very rare.
7575

76-
( On 32-bit x86, the necessary options added to the compiler
77-
flags may increase the size of the kernel slightly. )
76+
( On 32-bit x86, the necessary options added to the compiler
77+
flags may increase the size of the kernel slightly. )
7878

7979
config STATIC_KEYS_SELFTEST
8080
bool "Static key selftest"
@@ -98,9 +98,9 @@ config KPROBES_ON_FTRACE
9898
depends on KPROBES && HAVE_KPROBES_ON_FTRACE
9999
depends on DYNAMIC_FTRACE_WITH_REGS
100100
help
101-
If function tracer is enabled and the arch supports full
102-
passing of pt_regs to function tracing, then kprobes can
103-
optimize on top of function tracing.
101+
If function tracer is enabled and the arch supports full
102+
passing of pt_regs to function tracing, then kprobes can
103+
optimize on top of function tracing.
104104

105105
config UPROBES
106106
def_bool n
@@ -154,21 +154,21 @@ config HAVE_EFFICIENT_UNALIGNED_ACCESS
154154
config ARCH_USE_BUILTIN_BSWAP
155155
bool
156156
help
157-
Modern versions of GCC (since 4.4) have builtin functions
158-
for handling byte-swapping. Using these, instead of the old
159-
inline assembler that the architecture code provides in the
160-
__arch_bswapXX() macros, allows the compiler to see what's
161-
happening and offers more opportunity for optimisation. In
162-
particular, the compiler will be able to combine the byteswap
163-
with a nearby load or store and use load-and-swap or
164-
store-and-swap instructions if the architecture has them. It
165-
should almost *never* result in code which is worse than the
166-
hand-coded assembler in <asm/swab.h>. But just in case it
167-
does, the use of the builtins is optional.
157+
Modern versions of GCC (since 4.4) have builtin functions
158+
for handling byte-swapping. Using these, instead of the old
159+
inline assembler that the architecture code provides in the
160+
__arch_bswapXX() macros, allows the compiler to see what's
161+
happening and offers more opportunity for optimisation. In
162+
particular, the compiler will be able to combine the byteswap
163+
with a nearby load or store and use load-and-swap or
164+
store-and-swap instructions if the architecture has them. It
165+
should almost *never* result in code which is worse than the
166+
hand-coded assembler in <asm/swab.h>. But just in case it
167+
does, the use of the builtins is optional.
168168

169-
Any architecture with load-and-swap or store-and-swap
170-
instructions should set this. And it shouldn't hurt to set it
171-
on architectures that don't have such instructions.
169+
Any architecture with load-and-swap or store-and-swap
170+
instructions should set this. And it shouldn't hurt to set it
171+
on architectures that don't have such instructions.
172172

173173
config KRETPROBES
174174
def_bool y
@@ -720,13 +720,13 @@ config LTO_CLANG_FULL
720720
depends on !COMPILE_TEST
721721
select LTO_CLANG
722722
help
723-
This option enables Clang's full Link Time Optimization (LTO), which
724-
allows the compiler to optimize the kernel globally. If you enable
725-
this option, the compiler generates LLVM bitcode instead of ELF
726-
object files, and the actual compilation from bitcode happens at
727-
the LTO link step, which may take several minutes depending on the
728-
kernel configuration. More information can be found from LLVM's
729-
documentation:
723+
This option enables Clang's full Link Time Optimization (LTO), which
724+
allows the compiler to optimize the kernel globally. If you enable
725+
this option, the compiler generates LLVM bitcode instead of ELF
726+
object files, and the actual compilation from bitcode happens at
727+
the LTO link step, which may take several minutes depending on the
728+
kernel configuration. More information can be found from LLVM's
729+
documentation:
730730

731731
https://llvm.org/docs/LinkTimeOptimization.html
732732

@@ -1330,9 +1330,9 @@ config ARCH_HAS_CC_PLATFORM
13301330
bool
13311331

13321332
config HAVE_SPARSE_SYSCALL_NR
1333-
bool
1334-
help
1335-
An architecture should select this if its syscall numbering is sparse
1333+
bool
1334+
help
1335+
An architecture should select this if its syscall numbering is sparse
13361336
to save space. For example, MIPS architecture has a syscall array with
13371337
entries at 4000, 5000 and 6000 locations. This option turns on syscall
13381338
related optimizations for a given architecture.
@@ -1356,35 +1356,35 @@ config HAVE_PREEMPT_DYNAMIC_CALL
13561356
depends on HAVE_STATIC_CALL
13571357
select HAVE_PREEMPT_DYNAMIC
13581358
help
1359-
An architecture should select this if it can handle the preemption
1360-
model being selected at boot time using static calls.
1359+
An architecture should select this if it can handle the preemption
1360+
model being selected at boot time using static calls.
13611361

1362-
Where an architecture selects HAVE_STATIC_CALL_INLINE, any call to a
1363-
preemption function will be patched directly.
1362+
Where an architecture selects HAVE_STATIC_CALL_INLINE, any call to a
1363+
preemption function will be patched directly.
13641364

1365-
Where an architecture does not select HAVE_STATIC_CALL_INLINE, any
1366-
call to a preemption function will go through a trampoline, and the
1367-
trampoline will be patched.
1365+
Where an architecture does not select HAVE_STATIC_CALL_INLINE, any
1366+
call to a preemption function will go through a trampoline, and the
1367+
trampoline will be patched.
13681368

1369-
It is strongly advised to support inline static call to avoid any
1370-
overhead.
1369+
It is strongly advised to support inline static call to avoid any
1370+
overhead.
13711371

13721372
config HAVE_PREEMPT_DYNAMIC_KEY
13731373
bool
13741374
depends on HAVE_ARCH_JUMP_LABEL
13751375
select HAVE_PREEMPT_DYNAMIC
13761376
help
1377-
An architecture should select this if it can handle the preemption
1378-
model being selected at boot time using static keys.
1377+
An architecture should select this if it can handle the preemption
1378+
model being selected at boot time using static keys.
13791379

1380-
Each preemption function will be given an early return based on a
1381-
static key. This should have slightly lower overhead than non-inline
1382-
static calls, as this effectively inlines each trampoline into the
1383-
start of its callee. This may avoid redundant work, and may
1384-
integrate better with CFI schemes.
1380+
Each preemption function will be given an early return based on a
1381+
static key. This should have slightly lower overhead than non-inline
1382+
static calls, as this effectively inlines each trampoline into the
1383+
start of its callee. This may avoid redundant work, and may
1384+
integrate better with CFI schemes.
13851385

1386-
This will have greater overhead than using inline static calls as
1387-
the call to the preemption function cannot be entirely elided.
1386+
This will have greater overhead than using inline static calls as
1387+
the call to the preemption function cannot be entirely elided.
13881388

13891389
config ARCH_WANT_LD_ORPHAN_WARN
13901390
bool
@@ -1407,8 +1407,8 @@ config ARCH_SUPPORTS_PAGE_TABLE_CHECK
14071407
config ARCH_SPLIT_ARG64
14081408
bool
14091409
help
1410-
If a 32-bit architecture requires 64-bit arguments to be split into
1411-
pairs of 32-bit arguments, select this option.
1410+
If a 32-bit architecture requires 64-bit arguments to be split into
1411+
pairs of 32-bit arguments, select this option.
14121412

14131413
config ARCH_HAS_ELFCORE_COMPAT
14141414
bool

0 commit comments

Comments
 (0)