xtensa: merge SAVE_CP_REGS_TAB and LOAD_CP_REGS_TAB
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 18 Apr 2022 19:44:49 +0000 (12:44 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 2 May 2022 02:51:23 +0000 (19:51 -0700)
commite45d4bfbeb265f352fe5f32852e64eca5fdabe13
treebb7cbd9da1ce1a335f83b3e554404284bfa621e1
parentdedfe2590bdf1beaaf064f1f1b71098b5fddbfe1
xtensa: merge SAVE_CP_REGS_TAB and LOAD_CP_REGS_TAB

Both tables share the same offset field but the different function
pointers. Merge them into single table with 3-element entries to reduce
code and data duplication.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/coprocessor.S