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)
commit09e99da766a6a701eb4d72004872d1144291d53b
treecbf87ed10f6c64c7669ddd68e539e6d3b474e546
parenta05e2c371fbe73403793d126ceab93787cb4afd4
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