]> 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)
commit0a4287422cbea7ed72b76a23a740d51e8d056c3f
tree219dca44fab19e9e829c9df10a0bf4af5fb32bef
parent57ebdd7b49a0948a477b2aa7e5c6c02d606f4938
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