linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / fs / jfs / jfs_debug.c
index 81f0e51..4caea6b 100644 (file)
@@ -111,7 +111,7 @@ static struct {
        { "loglevel",   loglevel_read, loglevel_write }
 #endif
 };
-#define NPROCENT       ARRAY_SIZE(Entries)
+#define NPROCENT       (sizeof(Entries)/sizeof(Entries[0]))
 
 void jfs_proc_init(void)
 {