]> git.baikalelectronics.ru Git - kernel.git/commit
x86/xen: panic on bad Xen-provided memory map
authorMartin Kelly <martin@martingkelly.com>
Fri, 17 Oct 2014 03:48:11 +0000 (20:48 -0700)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 23 Oct 2014 15:24:02 +0000 (16:24 +0100)
commit126fa799f584db339dcee56548eb31d39b2a0f80
tree000d6b70443cc643dd3cb6facba4bca6b767db4c
parent11209fa3d356e357c67acfd54a20f6a270223759
x86/xen: panic on bad Xen-provided memory map

Panic if Xen provides a memory map with 0 entries. Although this is
unlikely, it is better to catch the error at the point of seeing the map
than later on as a symptom of some other crash.

Signed-off-by: Martin Kelly <martkell@amazon.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/setup.c