aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-03-11 09:35:56 -0500
committerRusty Russell <rusty@rustcorp.com.au>2008-03-11 09:35:57 +1100
commit3fabc55f34b72720e8a10aa442bd3415a211edb3 (patch)
tree2ccc469ce6daff4430c04d89b139f3d7ac02aaac /mm/mm_init.c
parentlguest: fix __get_vm_area usage. (diff)
downloadwireguard-linux-3fabc55f34b72720e8a10aa442bd3415a211edb3.tar.xz
wireguard-linux-3fabc55f34b72720e8a10aa442bd3415a211edb3.zip
lguest: Sanitize the lguest clock.
Now the TSC code handles a zero return from calculate_cpu_khz(), lguest can simply pass through the value it gets from the Host: if non-zero, all the normal TSC code applies. Otherwise (or if the Host really doesn't support TSC), the clocksource code will fall back to the slower but reasonable lguest clock. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions