git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10dd31a
)
time: ntp: refactor do_adjtimex()
author
Ingo Molnar
<mingo@elte.hu>
Sun, 22 Feb 2009 14:15:32 +0000
(15:15 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 25 Feb 2009 17:38:14 +0000
(18:38 +0100)
Impact: cleanup, no functionality changed
do_adjtimex() is currently a monster function with a maze of
branches. Refactor the txc->modes setting aspects of it into
two new helper functions:
process_adj_status()
process_adjtimex_modes()
kernel/time/ntp.o:
text data bss dec hex filename
2512 114 136 2762 aca ntp.o.before
2512 114 136 2762 aca ntp.o.after
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time/ntp.c
patch
|
blob
|
history
diff --cc
kernel/time/ntp.c
Simple merge