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