Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
feab6501
Commit
feab6501
authored
Dec 25, 2008
by
Martin Schwidefsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[S390] convert time printks to pr_xxx macros.
Signed-off-by:
Martin Schwidefsky
<
schwidefsky@de.ibm.com
>
parent
39f09392
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
arch/s390/kernel/time.c
arch/s390/kernel/time.c
+9
-5
No files found.
arch/s390/kernel/time.c
View file @
feab6501
...
...
@@ -12,6 +12,9 @@
* Copyright (C) 1991, 1992, 1995 Linus Torvalds
*/
#define KMSG_COMPONENT "time"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/sched.h>
...
...
@@ -319,8 +322,8 @@ static unsigned long long adjust_time(unsigned long long old,
}
sched_clock_base_cc
+=
delta
;
if
(
adjust
.
offset
!=
0
)
{
pr
intk
(
KERN_NOTICE
"etr: time adjusted by %li micro-seconds
\n
"
,
adjust
.
offset
);
pr
_notice
(
"The ETR interface has adjusted the clock "
"by %li microseconds
\n
"
,
adjust
.
offset
);
adjust
.
modes
=
ADJ_OFFSET_SINGLESHOT
;
do_adjtimex
(
&
adjust
);
}
...
...
@@ -481,8 +484,8 @@ static void etr_reset(void)
etr_tolec
=
get_clock
();
set_bit
(
CLOCK_SYNC_HAS_ETR
,
&
clock_sync_flags
);
}
else
if
(
etr_port0_online
||
etr_port1_online
)
{
pr
intk
(
KERN_WARNING
"Running on non ETR capable
"
"machine, only local mode available.
\n
"
);
pr
_warning
(
"The real or virtual hardware system does
"
"not provide an ETR interface
\n
"
);
etr_port0_online
=
etr_port1_online
=
0
;
}
}
...
...
@@ -1423,7 +1426,8 @@ static void __init stp_reset(void)
if
(
rc
==
0
)
set_bit
(
CLOCK_SYNC_HAS_STP
,
&
clock_sync_flags
);
else
if
(
stp_online
)
{
printk
(
KERN_WARNING
"Running on non STP capable machine.
\n
"
);
pr_warning
(
"The real or virtual hardware system does "
"not provide an STP interface
\n
"
);
free_bootmem
((
unsigned
long
)
stp_page
,
PAGE_SIZE
);
stp_page
=
NULL
;
stp_online
=
0
;
...
...
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