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