x86/entry: Consolidate 32/64 bit syscall entry
authorThomas Gleixner <tglx@linutronix.de>
Wed, 22 Jul 2020 22:00:01 +0000 (00:00 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 24 Jul 2020 13:04:58 +0000 (15:04 +0200)
commit0b085e68f4072024ecaa3889aeeaab5f6c8eba5c
tree665688bdb526ca7e2b17a0eebabc9b875eb7eb87
parent8d5ea35c5e9139dbd19a3d73985d008d36c9968f
x86/entry: Consolidate 32/64 bit syscall entry

64bit and 32bit entry code have the same open coded syscall entry handling
after the bitwidth specific bits.

Move it to a helper function and share the code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200722220520.051234096@linutronix.de
arch/x86/entry/common.c