S390: Add hwcaps value for vector facility.
authorStefan Liebler <stli@linux.vnet.ibm.com>
Mon, 4 Apr 2016 11:20:26 +0000 (13:20 +0200)
committerDongkyun, Son <dongkyun.s@samsung.com>
Sun, 22 May 2016 13:26:59 +0000 (22:26 +0900)
commit3d60691fd4c2ddda976fbdbbd6284b68238df03e
tree257e6d66511e7c21f75e980411283a952f6235dc
parent846bc94bf8be18d5093a24ee683d2e9a40122cec
S390: Add hwcaps value for vector facility.

The HWCAP_S390_VX flag in hwcap field of auxiliary vector indicates
if the vector facility is available and the kernel is aware of it.
This can be tested with LD_SHOW_AUXV=1 <prog>.
Currently it does not show te, because it was not incremented
by commit "S/390: Add hwcap value for transactional execution.".
Thus _DL_HWCAP_COUNT is incremented by two.

ChangeLog:

* sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
* sysdeps/s390/dl-procinfo.h: Add vector capability.
* sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.

(cherry picked from commit 4e28fa80886c71e6aaf85016b82ce981c0f12e6d)
ChangeLog
sysdeps/s390/dl-procinfo.c
sysdeps/s390/dl-procinfo.h
sysdeps/unix/sysv/linux/s390/bits/hwcap.h