Just use CONFIG_SLUB to detect SLUB use

Add ASSERTF to the NDEBUG build
Fix minor issue with various debug build flags



git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@126 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
behlendo
2008-06-04 21:09:25 +00:00
parent a02118a89d
commit 475cdc788e
4 changed files with 35 additions and 36 deletions
+1 -1
View File
@@ -376,7 +376,7 @@ __kmem_cache_create(char *name, size_t size, size_t align,
* SLAB_TRACE
* SLAB_DESTROY_BY_RCU
*/
#ifdef HAVE_SLUB
#ifdef CONFIG_SLUB
flags |= SLAB_STORE_USER;
#endif