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
Kirill Smelkov
linux
Commits
67dd331c
Commit
67dd331c
authored
May 29, 2013
by
Thomas Gleixner
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fortglx/3.10/time' of
git://git.linaro.org/people/jstultz/linux
into timers/urgent
parents
15ef0298
0d6bd995
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
kernel/time/ntp.c
kernel/time/ntp.c
+0
-1
kernel/time/timekeeping.c
kernel/time/timekeeping.c
+8
-0
No files found.
kernel/time/ntp.c
View file @
67dd331c
...
@@ -874,7 +874,6 @@ static void hardpps_update_phase(long error)
...
@@ -874,7 +874,6 @@ static void hardpps_update_phase(long error)
void
__hardpps
(
const
struct
timespec
*
phase_ts
,
const
struct
timespec
*
raw_ts
)
void
__hardpps
(
const
struct
timespec
*
phase_ts
,
const
struct
timespec
*
raw_ts
)
{
{
struct
pps_normtime
pts_norm
,
freq_norm
;
struct
pps_normtime
pts_norm
,
freq_norm
;
unsigned
long
flags
;
pts_norm
=
pps_normalize_ts
(
*
phase_ts
);
pts_norm
=
pps_normalize_ts
(
*
phase_ts
);
...
...
kernel/time/timekeeping.c
View file @
67dd331c
...
@@ -975,6 +975,14 @@ static int timekeeping_suspend(void)
...
@@ -975,6 +975,14 @@ static int timekeeping_suspend(void)
read_persistent_clock
(
&
timekeeping_suspend_time
);
read_persistent_clock
(
&
timekeeping_suspend_time
);
/*
* On some systems the persistent_clock can not be detected at
* timekeeping_init by its return value, so if we see a valid
* value returned, update the persistent_clock_exists flag.
*/
if
(
timekeeping_suspend_time
.
tv_sec
||
timekeeping_suspend_time
.
tv_nsec
)
persistent_clock_exist
=
true
;
raw_spin_lock_irqsave
(
&
timekeeper_lock
,
flags
);
raw_spin_lock_irqsave
(
&
timekeeper_lock
,
flags
);
write_seqcount_begin
(
&
timekeeper_seq
);
write_seqcount_begin
(
&
timekeeper_seq
);
timekeeping_forward_now
(
tk
);
timekeeping_forward_now
(
tk
);
...
...
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