2005-04-22 15:07:37

by Martin Schwidefsky

[permalink] [raw]
Subject: [patch 6/12] s390: allow longer debug feature names.

[patch 6/12] s390: allow longer debug feature names.

From: Michael Holzheu <[email protected]>

The current limitation of 16 characters of the debug feature names
turned out to be insufficient. Increase it to 64 characters.

Signed-off-by: Martin Schwidefsky <[email protected]>

diffstat:
include/asm-s390/debug.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -urpN linux-2.6/include/asm-s390/debug.h linux-2.6-patched/include/asm-s390/debug.h
--- linux-2.6/include/asm-s390/debug.h 2005-03-02 08:38:09.000000000 +0100
+++ linux-2.6-patched/include/asm-s390/debug.h 2005-04-22 15:45:03.000000000 +0200
@@ -43,7 +43,7 @@ struct __debug_entry{
#define DEBUG_OFF_LEVEL -1 /* level where debug is switched off */
#define DEBUG_FLUSH_ALL -1 /* parameter to flush all areas */
#define DEBUG_MAX_VIEWS 10 /* max number of views in proc fs */
-#define DEBUG_MAX_PROCF_LEN 16 /* max length for a proc file name */
+#define DEBUG_MAX_PROCF_LEN 64 /* max length for a proc file name */
#define DEBUG_DEFAULT_LEVEL 3 /* initial debug level */

#define DEBUG_DIR_ROOT "s390dbf" /* name of debug root directory in proc fs */