From patchwork Wed Nov 9 15:02:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/2] target-arm: remind to keep arm features in sync with linux-user/elfload.c Date: Wed, 09 Nov 2011 05:02:59 -0000 From: Benoit Canet X-Patchwork-Id: 124570 Message-Id: <1320850979-6620-3-git-send-email-benoit.canet@gmail.com> To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Beno=C3=AEt=20Canet?= , afaerber@suse.de Signed-off-by: Benoit Canet --- target-arm/cpu.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index c4d742f..6639c2e 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -353,6 +353,10 @@ enum arm_cpu_mode { #define ARM_IWMMXT_wCGR2 10 #define ARM_IWMMXT_wCGR3 11 +/* If adding a feature bit which corresponds to a Linux ELF + * HWCAP bit, remember to update the feature-bit-to-hwcap + * mapping in linux-user/elfload.c:get_elf_hwcap(). + */ enum arm_features { ARM_FEATURE_VFP, ARM_FEATURE_AUXCR, /* ARM1026 Auxiliary control register. */