aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/spinlock_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/spinlock_types.h')
-rw-r--r--arch/x86/include/asm/spinlock_types.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/spinlock_types.h b/arch/x86/include/asm/spinlock_types.h
index 93560ed86b7..37182786379 100644
--- a/arch/x86/include/asm/spinlock_types.h
+++ b/arch/x86/include/asm/spinlock_types.h
@@ -11,13 +11,8 @@
#define TICKET_SLOWPATH_FLAG ((__ticket_t)0)
#endif
-#if (CONFIG_NR_CPUS < (256 / __TICKET_LOCK_INC))
-typedef u8 __ticket_t;
-typedef u16 __ticketpair_t;
-#else
typedef u16 __ticket_t;
typedef u32 __ticketpair_t;
-#endif
#define TICKET_LOCK_INC ((__ticket_t)__TICKET_LOCK_INC)