Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
361f494d
Commit
361f494d
authored
Jan 26, 2008
by
Peter Tiedemann
Committed by
Martin Schwidefsky
Jan 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[S390] usage of s390dbf: shrink number of debug areas to use.
Signed-off-by:
Peter Tiedemann
<
ptiedem@de.ibm.com
>
parent
5c81cdbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
drivers/s390/block/dasd.c
drivers/s390/block/dasd.c
+2
-2
drivers/s390/cio/cio.c
drivers/s390/cio/cio.c
+3
-3
No files found.
drivers/s390/block/dasd.c
View file @
361f494d
...
...
@@ -214,7 +214,7 @@ static int dasd_state_known_to_basic(struct dasd_device *device)
return
rc
;
}
/* register 'device' debug area, used for all DBF_DEV_XXX calls */
device
->
debug_area
=
debug_register
(
device
->
cdev
->
dev
.
bus_id
,
1
,
2
,
device
->
debug_area
=
debug_register
(
device
->
cdev
->
dev
.
bus_id
,
1
,
1
,
8
*
sizeof
(
long
));
debug_register_view
(
device
->
debug_area
,
&
debug_sprintf_view
);
debug_set_level
(
device
->
debug_area
,
DBF_WARNING
);
...
...
@@ -2435,7 +2435,7 @@ static int __init dasd_init(void)
init_waitqueue_head
(
&
dasd_flush_wq
);
/* register 'common' DASD debug area, used for all DBF_XXX calls */
dasd_debug_area
=
debug_register
(
"dasd"
,
1
,
2
,
8
*
sizeof
(
long
));
dasd_debug_area
=
debug_register
(
"dasd"
,
1
,
1
,
8
*
sizeof
(
long
));
if
(
dasd_debug_area
==
NULL
)
{
rc
=
-
ENOMEM
;
goto
failed
;
...
...
drivers/s390/cio/cio.c
View file @
361f494d
...
...
@@ -64,17 +64,17 @@ __setup ("cio_msg=", cio_setup);
*/
static
int
__init
cio_debug_init
(
void
)
{
cio_debug_msg_id
=
debug_register
(
"cio_msg"
,
16
,
4
,
16
*
sizeof
(
long
));
cio_debug_msg_id
=
debug_register
(
"cio_msg"
,
16
,
1
,
16
*
sizeof
(
long
));
if
(
!
cio_debug_msg_id
)
goto
out_unregister
;
debug_register_view
(
cio_debug_msg_id
,
&
debug_sprintf_view
);
debug_set_level
(
cio_debug_msg_id
,
2
);
cio_debug_trace_id
=
debug_register
(
"cio_trace"
,
16
,
4
,
16
);
cio_debug_trace_id
=
debug_register
(
"cio_trace"
,
16
,
1
,
16
);
if
(
!
cio_debug_trace_id
)
goto
out_unregister
;
debug_register_view
(
cio_debug_trace_id
,
&
debug_hex_ascii_view
);
debug_set_level
(
cio_debug_trace_id
,
2
);
cio_debug_crw_id
=
debug_register
(
"cio_crw"
,
16
,
4
,
16
*
sizeof
(
long
));
cio_debug_crw_id
=
debug_register
(
"cio_crw"
,
16
,
1
,
16
*
sizeof
(
long
));
if
(
!
cio_debug_crw_id
)
goto
out_unregister
;
debug_register_view
(
cio_debug_crw_id
,
&
debug_sprintf_view
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment