--- linux-2.4.19/mm/slab.c.orig	Sat Aug  3 04:39:46 2002
+++ linux-2.4.19/mm/slab.c	Thu Nov 21 23:50:33 2002
@@ -1115,8 +1115,6 @@
 	/* Be lazy and only check for valid flags here,
  	 * keeping it out of the critical path in kmem_cache_alloc().
 	 */
-	if (flags & ~(SLAB_DMA|SLAB_LEVEL_MASK|SLAB_NO_GROW))
-		BUG();
 	if (flags & SLAB_NO_GROW)
 		return 0;
 
