Index: kernel/generic/include/synch/spinlock.h
===================================================================
--- kernel/generic/include/synch/spinlock.h	(revision c7326f21034f5be327fe7a10a07986dddd6cac9b)
+++ kernel/generic/include/synch/spinlock.h	(revision 4f84ee4268fbebe449f1346536fa63cef10bd266)
@@ -135,4 +135,5 @@
 static inline bool spinlock_trylock(spinlock_t *l)
 {
+	preemption_disable();
 	return true;
 }
