Centos-kernel-stream-9/kernel/locking
Prarit Bhargava a1c1f5df57 x86/qspinlock-paravirt: Fix missing-prototype warning
JIRA: https://issues.redhat.com/browse/RHEL-25415

commit 8874a414f8f706daf1de467cbf2550988ebec09d
Author: Arnd Bergmann <arnd@arndb.de>
Date:   Thu Aug 3 10:26:19 2023 +0200

    x86/qspinlock-paravirt: Fix missing-prototype warning

    __pv_queued_spin_unlock_slowpath() is defined in a header file as
    a global function, and designed to be called from inline asm, but
    there is no prototype visible in the definition:

      kernel/locking/qspinlock_paravirt.h:493:1: error: no previous \
        prototype for '__pv_queued_spin_unlock_slowpath' [-Werror=missing-prototypes]

    Add this to the x86 header that contains the inline asm calling it,
    and ensure this gets included before the definition, rather than
    after it.

    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
    Link: https://lore.kernel.org/r/20230803082619.1369127-8-arnd@kernel.org

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
2024-03-20 09:43:15 -04:00
..
Makefile
irqflag-debug.c
lock_events.c
lock_events.h
lock_events_list.h
lockdep.c lockdep: Fix block chain corruption 2024-01-15 10:10:44 -05:00
lockdep_internals.h
lockdep_proc.c
lockdep_states.h
locktorture.c locktorture: Add raw_spinlock* torture tests for PREEMPT_RT kernels 2024-01-15 10:10:42 -05:00
mcs_spinlock.h
mutex-debug.c
mutex.c
mutex.h
osq_lock.c
percpu-rwsem.c
qrwlock.c
qspinlock.c locking/qspinlock: Micro-optimize pending state waiting for unlock 2024-01-15 10:10:41 -05:00
qspinlock_paravirt.h x86/qspinlock-paravirt: Fix missing-prototype warning 2024-03-20 09:43:15 -04:00
qspinlock_stat.h
rtmutex.c locking/rtmutex: Fix task->pi_waiters integrity 2024-01-15 10:10:43 -05:00
rtmutex_api.c locking/rtmutex: Fix task->pi_waiters integrity 2024-01-15 10:10:43 -05:00
rtmutex_common.h locking/rtmutex: Fix task->pi_waiters integrity 2024-01-15 10:10:43 -05:00
rwbase_rt.c
rwsem.c locking/rwsem: Add __always_inline annotation to __down_read_common() and inlined callers 2024-01-15 10:10:42 -05:00
semaphore.c
spinlock.c
spinlock_debug.c
spinlock_rt.c
test-ww_mutex.c
ww_mutex.h locking/rtmutex: Fix task->pi_waiters integrity 2024-01-15 10:10:43 -05:00
ww_rt_mutex.c