diff options
author | 2024-08-25 20:18:05 +1200 | |
---|---|---|
committer | 2024-08-25 14:29:39 +0200 | |
commit | 3c41ad39f179c0e41f585975eb6834cd14f286ec (patch) | |
tree | 7870e9b4c9a1230b05bb21014e252d3ecb951be8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | x86/sgx: Fix a W=1 build warning in function comment (diff) | |
download | wireguard-linux-3c41ad39f179c0e41f585975eb6834cd14f286ec.tar.xz wireguard-linux-3c41ad39f179c0e41f585975eb6834cd14f286ec.zip |
x86/kexec: Fix a comment of swap_pages() assembly
When relocate_kernel() gets called, %rdi holds 'indirection_page' and
%rsi holds 'page_list'. And %rdi always holds 'indirection_page' when
swap_pages() is called.
Therefore the comment of the first line code of swap_pages()
movq %rdi, %rcx /* Put the page_list in %rcx */
.. isn't correct because it actually moves the 'indirection_page' to
the %rcx. Fix it.
Signed-off-by: Kai Huang <kai.huang@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: https://lore.kernel.org/all/adafdfb1421c88efce04420fc9a996c0e2ca1b34.1724573384.git.kai.huang@intel.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions