xen: check for zero sized area when invalidating memory
authorJuergen Gross <jgross@suse.com>
Mon, 12 Jan 2015 05:05:10 +0000 (06:05 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 12 Jan 2015 10:09:55 +0000 (10:09 +0000)
commit9a17ad7f3db17db0c6375de96672f16ab1aa51ae
tree054864393127a9d5fae232fc2ee046eb0e824b39
parente86f949667127509d95b6c678fdd928b93128d9d
xen: check for zero sized area when invalidating memory

With the introduction of the linear mapped p2m list setting memory
areas to "invalid" had to be delayed. When doing the invalidation
make sure no zero sized areas are processed.

Signed-off-by: Juegren Gross <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/setup.c