diff options
| author | Uros Bizjak <[email protected]> | 2023-11-03 10:48:22 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2023-11-30 19:09:49 +0000 |
| commit | 0978d64f9406122c369d5f46e1eb855646f6c32c (patch) | |
| tree | 569639ca1a93adaf5fd067d931e580f28ea13457 /scripts/generate_rust_target.rs | |
| parent | x86/callthunks: Fix and unify call thunks assembly snippets (diff) | |
| download | kernel-0978d64f9406122c369d5f46e1eb855646f6c32c.tar.gz kernel-0978d64f9406122c369d5f46e1eb855646f6c32c.zip | |
x86/acpi: Use %rip-relative addressing in wakeup_64.S
This is a "nice-to-have" change with minor code generation benefits:
- Instruction with %rip-relative address operand is one byte shorter than
its absolute address counterpart,
- it is also compatible with position independent executable (-fpie) builds,
- it is also consistent with what the compiler emits by default when
a symbol is accessed.
No functional changes intended.
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
