00db10
From db22400947e1c82153e5270d23fed53fc1e3a659 Mon Sep 17 00:00:00 2001
00db10
From: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
00db10
Date: Mon, 23 Jun 2014 09:38:47 -0500
00db10
Subject: [PATCH] PowerPC: sync hwcap.h capabilities
00db10
00db10
Linux commit dd58a092c4202f2bd490adab7285b3ff77f8e467 added the
00db10
PPC_FEATURE2_VEC_CRYPTO auvx capability to indicate whether to
00db10
hardware supports vector crypto hardware instructions.  This patch
00db10
adds its definition to powerpc hwcap bits.
00db10
---
00db10
 ChangeLog                    | 5 +++++
00db10
 sysdeps/powerpc/bits/hwcap.h | 2 ++
00db10
 2 files changed, 7 insertions(+)
00db10
00db10
diff --git a/ChangeLog b/ChangeLog
00db10
index 426af5d..b4f687f 100644
00db10
diff --git a/sysdeps/powerpc/bits/hwcap.h b/sysdeps/powerpc/bits/hwcap.h
00db10
index 7daec91..e894bd4 100644
00db10
--- a/sysdeps/powerpc/bits/hwcap.h
00db10
+++ b/sysdeps/powerpc/bits/hwcap.h
00db10
@@ -62,3 +62,5 @@
00db10
 #define PPC_FEATURE2_HAS_EBB       0x10000000 /* Event Base Branching */
00db10
 #define PPC_FEATURE2_HAS_ISEL      0x08000000 /* Integer Select */
00db10
 #define PPC_FEATURE2_HAS_TAR       0x04000000 /* Target Address Register */
00db10
+#define PPC_FEATURE2_HAS_VEC_CRYPTO  0x02000000  /* Target supports vector
00db10
+						    instruction.  */
00db10
-- 
00db10
2.1.0
00db10