]> git.baikalelectronics.ru Git - kernel.git/commit
xen/time: Free onlined per-cpu data structure if we want to online it again.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 4 Jun 2013 21:13:29 +0000 (17:13 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 10 Jun 2013 12:43:37 +0000 (08:43 -0400)
commit299aa446347ef6bd38ba59519cb6efe56904545b
treecbf87ed10f6c64c7669ddd68e539e6d3b474e546
parent7ef0b6dd99c62d70b58381a701efc79afa906f51
xen/time: Free onlined per-cpu data structure if we want to online it again.

If the per-cpu time data structure has been onlined already and
we are trying to online it again, then free the previous copy
before blindly over-writting it.

A developer naturally should not call this function multiple times
but just in case.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/time.c