RT: change from raw_spinlock_t to __raw_spinlock_t
PATCH 4/4 RT: change from raw_spinlock_t to __raw_spinlock_t
From: Frank Rowand <[email protected]>
Fix compile warning (which becomes compile error due to -Werror), by changing from raw_spinlock_t to __raw_spinlock_t.
Signed-off-by Frank Rowand <[email protected]>
---
arch/mips/kernel/gdb-stub.c | 2 1 + 1 - 0 !
1 files changed, 1 insertion(+), 1 deletion(-)
arch/mips/kernel/gdb-stub.c +1 -1
@@ -177,7 +177,7 @@ int kgdb_enabled;* spin locks for smp case */ static DEFINE_SPINLOCK (kgdb_lock); -static raw_spinlock_t kgdb_cpulock[NR_CPUS ] = { +static __raw_spinlock_t kgdb_cpulock[NR_CPUS ] = { [0 ...NR_CPUS -1 ] = __RAW_SPIN_LOCK_UNLOCKED, };
Steven Rostedt
AppliedQuoted 5 lines · Frank Rowand
From: Frank Rowand <[email protected]>
Fix compile warning (which becomes compile error due to -Werror), by changing from
raw_spinlock_tto__raw_spinlock_t.
Applied.
Thanks,
-- Steve