diff --git a/arch/x86_64/Cargo.toml b/arch/x86_64/Cargo.toml
index 250c559..a845fa7 100644
--- a/arch/x86_64/Cargo.toml
+++ b/arch/x86_64/Cargo.toml
@@ -5,6 +5,7 @@ version = "0.1.0"
[dependencies]
bitflags = "*"
hole_list_allocator = { path = "../../alloc/hole_list_allocator"}
+spin = "*"
[dependencies.x86]
default-features = false
diff --git a/arch/x86_64/src/lib.rs b/arch/x86_64/src/lib.rs
index f4102db..eabc8a8 100644
--- a/arch/x86_64/src/lib.rs
+++ b/arch/x86_64/src/lib.rs
@@ -10,11 +10,13 @@
#![no_std]
extern crate hole_list_allocator as allocator;
-
#[macro_use]
extern crate bitflags;
+extern crate spin;
extern crate x86;
+use spin::Mutex;
+
/// Print to console
#[macro_export]
macro_rules! print {
@@ -106,3 +108,6 @@ pub mod start;
/// Task state segment
pub mod tss;
+
+pub static ALLOCATOR: Mutex