e293be
--- a/include/asm-generic/qspinlock_types.h	2017-07-06 16:37:46.000000000 -0700
e293be
+++ b/include/asm-generic/qspinlock_types.h	2017-08-04 21:24:07.781511544 -0700
e293be
@@ -31,7 +31,11 @@
e293be
 /*
e293be
  * Maintain the same kABI signature as the ticket lock.
e293be
  */
e293be
+#if defined CONFIG_X86_64
e293be
 typedef u16 __ticket_t;
e293be
+#else
e293be
+typedef u8  __ticket_t;
e293be
+#endif
e293be
 #ifndef __GENKSYMS__
e293be
 typedef struct qspinlock {
e293be
 	atomic_t	val;