diff --git a/reactos/hal/halx86/generic/generic.xml b/reactos/hal/halx86/generic/generic.xml
index 8d4ea809d5c..21fa7a5aa39 100644
--- a/reactos/hal/halx86/generic/generic.xml
+++ b/reactos/hal/halx86/generic/generic.xml
@@ -34,6 +34,7 @@
irql.c
processor.c
resource.c
+ spinlock.c
../include
diff --git a/reactos/hal/halx86/up/spinlock.c b/reactos/hal/halx86/generic/spinlock.c
similarity index 100%
rename from reactos/hal/halx86/up/spinlock.c
rename to reactos/hal/halx86/generic/spinlock.c
diff --git a/reactos/hal/halx86/up/halup.xml b/reactos/hal/halx86/up/halup.xml
index d07deb6b956..eb550f562e1 100644
--- a/reactos/hal/halx86/up/halup.xml
+++ b/reactos/hal/halx86/up/halup.xml
@@ -11,6 +11,5 @@
hal_generic_pc
ntoskrnl
halinit_up.c
- spinlock.c
halup.rc