diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-05-15 16:52:35 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-05-15 16:52:39 +0200 |
commit | 5cbbf16a0fab91662af8400b5ada658990932a87 (patch) | |
tree | 083f5df08cd9c098ee4743d4ce1d0d23a6039699 /include/asm-s390 | |
parent | 69f90f6a5650a74dd8f428e8d2f05859d58da3d7 (diff) |
[S390] s390dbf: Use const char * for dbf name.
We should use const char * for passing the name of the debug feature
around since it will not be changed.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390')
-rw-r--r-- | include/asm-s390/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-s390/debug.h b/include/asm-s390/debug.h index 335baf4fc64..9450ce6e32d 100644 --- a/include/asm-s390/debug.h +++ b/include/asm-s390/debug.h @@ -120,10 +120,10 @@ debug_entry_t* debug_exception_common(debug_info_t* id, int level, /* Debug Feature API: */ -debug_info_t* debug_register(char* name, int pages, int nr_areas, +debug_info_t *debug_register(const char *name, int pages, int nr_areas, int buf_size); -debug_info_t *debug_register_mode(char *name, int pages, int nr_areas, +debug_info_t *debug_register_mode(const char *name, int pages, int nr_areas, int buf_size, mode_t mode, uid_t uid, gid_t gid); |