arm: fix build with gcc6
authorJan Beulich <JBeulich@suse.com>
Tue, 4 Oct 2016 10:26:14 +0000 (04:26 -0600)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 4 Oct 2016 16:29:13 +0000 (09:29 -0700)
commitcb8290f68410c6c951699abd3a24124627f3f1f2
tree82ceba8dbf8ee99132a336dd5aba11641aef9cb2
parent3ab81e01104d7c05e239f3bd9329c4fc87a463f4
arm: fix build with gcc6

Commit e170622f95 ("xen/arm: p2m: Re-implement p2m_set_mem_access using
p2m_{set,get}_entry") eliminated the only user of level_sizes[],
causing gcc6 to warn about the unused variable (as it's a const one
older gcc versions apparently don't care to emit a warning).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/p2m.c