]> git.baikalelectronics.ru Git - kernel.git/commit
xen/time: Check that the per_cpu data structure has data before freeing.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 4 Jun 2013 21:11:52 +0000 (17:11 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 10 Jun 2013 12:43:36 +0000 (08:43 -0400)
commit7ef0b6dd99c62d70b58381a701efc79afa906f51
tree219dca44fab19e9e829c9df10a0bf4af5fb32bef
parent051357e3e23c9f31beaee6fbf8b0a271ee956c7c
xen/time: Check that the per_cpu data structure has data before freeing.

We don't check whether the per_cpu data structure has actually
been freed in the past. This checks it and if it has been freed
in the past then just continues on without double-freeing.

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