x86/vdso/kbuild: Group non-standard build attributes and primary object file rules...
authorIngo Molnar <mingo@kernel.org>
Thu, 22 Feb 2024 09:20:58 +0000 (10:20 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 22 Feb 2024 09:40:20 +0000 (10:40 +0100)
commitb7bcffe752957c6eac7c4cd77dd6f5d943478769
tree488e3f76740209c6fabf81e8f4071f2721fe5af1
parentf14df823a61e45db6a92e1caf552d5ec64e06b1e
x86/vdso/kbuild: Group non-standard build attributes and primary object file rules together

The fresh changes to the vDSO Makefile in:

  289d0a475c3e ("x86/vdso: Use CONFIG_COMPAT_32 to specify vdso32")
  329b77b59f83 ("x86/vdso: Simplify obj-y addition")

Conflicted with a pending change in:

  b388e57d4628e ("x86/vdso: Fix rethunk patching for vdso-image-{32,64}.o")

Which was resolved in a simple fasion in this merge commit:

  f14df823a61e ("Merge branch 'x86/vdso' into x86/core, to resolve conflict and to prepare for dependent changes")

... but all these changes make me look and notice a bit of historic baggage
left in the Makefile:

  - Disordered build rules where non-standard build attributes relating to
    were placed sometimes several lines after - and sometimes *before*
    the .o build rules of the object files... Functional but inconsistent.

  - Inconsistent vertical spacing, stray whitespaces, inconsistent spelling
    of 'vDSO' over the years, a few spelling mistakes and inconsistent
    capitalization of comment blocks.

Tidy it all up. No functional changes intended.

Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/vdso/Makefile