]> xenbits.xensource.com Git - xen.git/commitdiff
xen/arm: hvm_domain does not need to be cacheline aligned
authorJulien Grall <julien.grall@arm.com>
Wed, 8 Mar 2017 18:06:00 +0000 (18:06 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 8 Mar 2017 18:59:17 +0000 (10:59 -0800)
hvm_domain only contains the HVM_PARAM that on ARM are not used often.
So it is not necessary to have hvm_domain fitting in a cacheline. Drop
it to save 128 bytes in the structure arch_domain.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/domain.h

index f117e577f0db40afb4a84c25d04f8385e341a0c3..09fe502fc26b27b0cd38a3b781b2e940f9426615 100644 (file)
@@ -14,7 +14,7 @@
 struct hvm_domain
 {
     uint64_t              params[HVM_NR_PARAMS];
-}  __cacheline_aligned;
+};
 
 #ifdef CONFIG_ARM_64
 enum domain_type {