diff options
author | Martin Kelly <martin@martingkelly.com> | 2014-10-17 07:48:11 +0400 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2014-10-23 19:24:02 +0400 |
commit | 1ea644c8f93f3435760d8b88c25d56475d8b7778 (patch) | |
tree | 000d6b70443cc643dd3cb6facba4bca6b767db4c /drivers/ide/cs5520.c | |
parent | 3251f20b897f955ab7f153181b4ebfbb2317cbb9 (diff) | |
download | linux-1ea644c8f93f3435760d8b88c25d56475d8b7778.tar.xz |
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>
Diffstat (limited to 'drivers/ide/cs5520.c')
0 files changed, 0 insertions, 0 deletions