From: Heiko Carstens Date: Wed, 1 Jan 2014 15:08:06 +0000 (+0100) Subject: s390/ptrace: add struct psw and accessor function X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~8^2~67^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1365632bdeb42e5e252566bb08c0d7d68640edd3;p=pandora-kernel.git s390/ptrace: add struct psw and accessor function Introduce a 'struct psw' which makes it easier to decode and test if certain bits in a psw are set or are not set. In addition also add a 'psw_bits()' helper define which allows to directly modify and test a psw_t structure. E.g. psw_t psw; psw_bits(psw).t = 1; /* set dat bit */ Signed-off-by: Heiko Carstens Reviewed-by: Thomas Huth Reviewed-by: Cornelia Huck Signed-off-by: Christian Borntraeger --- Reading git-diff-tree failed