diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h
index c88aa3d8e87fef2c048b9ea39a7f0c1a7bad989b..331e5f1c2d8ec4439bc69294337dc1b00345f3d8 100644
--- a/include/linux/lockdep.h
+++ b/include/linux/lockdep.h
@@ -190,7 +190,7 @@ struct lock_chain {
 	u64				chain_key;
 };
 
-#define MAX_LOCKDEP_KEYS_BITS		11
+#define MAX_LOCKDEP_KEYS_BITS		13
 /*
  * Subtract one because we offset hlock->class_idx by 1 in order
  * to make 0 mean no class. This avoids overflowing the class_idx