xtensa: fix __sync_fetch_and_{and,or}_4 declarations

Building xtensa kernel with gcc-10 produces the following warnings:
arch/xtensa/kernel/xtensa_ksyms.c:90:15: warning: conflicting types
for built-in function ‘__sync_fetch_and_and_4’;
expected ‘unsigned int(volatile void *, unsigned int)’
[-Wbuiltin-declaration-mismatch]
arch/xtensa/kernel/xtensa_ksyms.c:96:15: warning: conflicting types
for built-in function ‘__sync_fetch_and_or_4’;
expected ‘unsigned int(volatile void *, unsigned int)’
[-Wbuiltin-declaration-mismatch]

Fix declarations of these functions to avoid the warning.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

Changed files
+2 -2
arch
xtensa
+2 -2
arch/xtensa/kernel/xtensa_ksyms.c
··· 87 87 } 88 88 EXPORT_SYMBOL(__xtensa_libgcc_window_spill); 89 89 90 - unsigned long __sync_fetch_and_and_4(unsigned long *p, unsigned long v) 90 + unsigned int __sync_fetch_and_and_4(volatile void *p, unsigned int v) 91 91 { 92 92 BUG(); 93 93 } 94 94 EXPORT_SYMBOL(__sync_fetch_and_and_4); 95 95 96 - unsigned long __sync_fetch_and_or_4(unsigned long *p, unsigned long v) 96 + unsigned int __sync_fetch_and_or_4(volatile void *p, unsigned int v) 97 97 { 98 98 BUG(); 99 99 }