Index: generic/include/proc/task.h
===================================================================
--- generic/include/proc/task.h	(revision 169c408f8774661800aa0a9685c9914cbb5a974c)
+++ generic/include/proc/task.h	(revision 5753fbb46440d4f6fb6f2bbc7cfe0f3b24ba615a)
@@ -35,5 +35,5 @@
 
 struct task {
-	spinlock_t lock;
+	SPINLOCK_DECLARE(lock);
 	link_t th_head;		/**< List of threads contained in this task. */
 	link_t tasks_link;	/**< Link to other tasks within the system. */
