Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8737d595 authored by Milind Arun Choudhary's avatar Milind Arun Choudhary Committed by Tony Luck
Browse files

[IA64] SPIN_LOCK_UNLOCKED macro cleanup in arch/ia64



SPIN_LOCK_UNLOCKED macro cleanup, use __SPIN_LOCK_UNLOCKED instead.

Signed-off-by: default avatarMilind Arun Choudhary <milindchoudhary@gmail.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 1cfb9c94
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -59,7 +59,7 @@ die (const char *str, struct pt_regs *regs, long err)
		u32 lock_owner;
		u32 lock_owner;
		int lock_owner_depth;
		int lock_owner_depth;
	} die = {
	} die = {
		.lock =			SPIN_LOCK_UNLOCKED,
		.lock =	__SPIN_LOCK_UNLOCKED(die.lock),
		.lock_owner = -1,
		.lock_owner = -1,
		.lock_owner_depth = 0
		.lock_owner_depth = 0
	};
	};
+1 −1
Original line number Original line Diff line number Diff line
@@ -145,7 +145,7 @@ static struct {
# endif
# endif
} unw = {
} unw = {
	.tables = &unw.kernel_table,
	.tables = &unw.kernel_table,
	.lock = SPIN_LOCK_UNLOCKED,
	.lock = __SPIN_LOCK_UNLOCKED(unw.lock),
	.save_order = {
	.save_order = {
		UNW_REG_RP, UNW_REG_PFS, UNW_REG_PSP, UNW_REG_PR,
		UNW_REG_RP, UNW_REG_PFS, UNW_REG_PSP, UNW_REG_PR,
		UNW_REG_UNAT, UNW_REG_LC, UNW_REG_FPSR, UNW_REG_PRI_UNAT_GR
		UNW_REG_UNAT, UNW_REG_LC, UNW_REG_FPSR, UNW_REG_PRI_UNAT_GR
+3 −3
Original line number Original line Diff line number Diff line
@@ -32,7 +32,7 @@ static struct {
} purge;
} purge;


struct ia64_ctx ia64_ctx = {
struct ia64_ctx ia64_ctx = {
	.lock =		SPIN_LOCK_UNLOCKED,
	.lock =	__SPIN_LOCK_UNLOCKED(ia64_ctx.lock),
	.next =	1,
	.next =	1,
	.max_ctx = ~0U
	.max_ctx = ~0U
};
};