Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96784
b: refs/heads/master
c: 5cbbf16
h: refs/heads/master
v: v3
  • Loading branch information
Cornelia Huck authored and Martin Schwidefsky committed May 15, 2008
1 parent 805f643 commit df59653
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 69f90f6a5650a74dd8f428e8d2f05859d58da3d7
refs/heads/master: 5cbbf16a0fab91662af8400b5ada658990932a87
20 changes: 10 additions & 10 deletions trunk/arch/s390/kernel/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static ssize_t debug_input(struct file *file, const char __user *user_buf,
size_t user_len, loff_t * offset);
static int debug_open(struct inode *inode, struct file *file);
static int debug_close(struct inode *inode, struct file *file);
static debug_info_t* debug_info_create(char *name, int pages_per_area,
static debug_info_t *debug_info_create(const char *name, int pages_per_area,
int nr_areas, int buf_size, mode_t mode);
static void debug_info_get(debug_info_t *);
static void debug_info_put(debug_info_t *);
Expand Down Expand Up @@ -234,8 +234,8 @@ debug_areas_alloc(int pages_per_area, int nr_areas)
*/

static debug_info_t*
debug_info_alloc(char *name, int pages_per_area, int nr_areas, int buf_size,
int level, int mode)
debug_info_alloc(const char *name, int pages_per_area, int nr_areas,
int buf_size, int level, int mode)
{
debug_info_t* rc;

Expand Down Expand Up @@ -326,8 +326,8 @@ debug_info_free(debug_info_t* db_info){
*/

static debug_info_t*
debug_info_create(char *name, int pages_per_area, int nr_areas, int buf_size,
mode_t mode)
debug_info_create(const char *name, int pages_per_area, int nr_areas,
int buf_size, mode_t mode)
{
debug_info_t* rc;

Expand Down Expand Up @@ -684,9 +684,9 @@ debug_close(struct inode *inode, struct file *file)
* - Returns handle for debug area
*/

debug_info_t *debug_register_mode(char *name, int pages_per_area, int nr_areas,
int buf_size, mode_t mode, uid_t uid,
gid_t gid)
debug_info_t *debug_register_mode(const char *name, int pages_per_area,
int nr_areas, int buf_size, mode_t mode,
uid_t uid, gid_t gid)
{
debug_info_t *rc = NULL;

Expand Down Expand Up @@ -722,8 +722,8 @@ EXPORT_SYMBOL(debug_register_mode);
* - returns handle for debug area
*/

debug_info_t *debug_register(char *name, int pages_per_area, int nr_areas,
int buf_size)
debug_info_t *debug_register(const char *name, int pages_per_area,
int nr_areas, int buf_size)
{
return debug_register_mode(name, pages_per_area, nr_areas, buf_size,
S_IRUSR | S_IWUSR, 0, 0);
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-s390/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit df59653

Please sign in to comment.