Make freeing pages not require the pool lock,
[pintos-anon] / src / lib / string.c
index cb042f02242d02a2090f6566016fb45f67c0df21..8971fae21b3c4d6da492b2e54614dbb3e6f8e058 100644 (file)
@@ -1,4 +1,8 @@
 #include <string.h>
+
+#ifdef KERNEL
+#define NDEBUG
+#endif
 #include <debug.h>
 
 /* Copies SIZE bytes from SRC to DST, which must not overlap.