]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/unwind_user: Simplify unwind_user_word_size()
authorJens Remus <jremus@linux.ibm.com>
Mon, 8 Dec 2025 16:03:52 +0000 (17:03 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 17 Dec 2025 12:31:08 +0000 (13:31 +0100)
commit3c48808408af11d6f173c65eee9bd5ca4c53667c
tree8e2280a4bd9ab7badb2550887b0b3e6daafdf5c0
parentaa6047ef7204ea1faa346b9123439abed0546f7e
x86/unwind_user: Simplify unwind_user_word_size()

Get rid of superfluous ifdef and return explicit word size depending on
32-bit or 64-bit mode.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251208160352.1363040-5-jremus@linux.ibm.com
arch/x86/include/asm/unwind_user.h