diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index 7c38e850a8fc5ce0c4f64090e9f9ac6ef6de7203..685049a9048d8e9f8b53041cba43b96317b112fa 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -1349,7 +1349,7 @@ void *zs_map_object(struct zs_pool *pool, unsigned long handle,
 	 * pools/users, we can't allow mapping in interrupt context
 	 * because it can corrupt another users mappings.
 	 */
-	WARN_ON_ONCE(in_interrupt());
+	BUG_ON(in_interrupt());
 
 	/* From now on, migration cannot move the object */
 	pin_tag(handle);