s390-bios: ptr2u32 and u32toptr
commit1fb3e5cde8dcd9b5917aea9a0b2918e16be8be1e
authorJason J. Herne <jjherne@linux.ibm.com>
Thu, 4 Apr 2019 14:34:26 +0000 (4 10:34 -0400)
committerThomas Huth <thuth@redhat.com>
Fri, 12 Apr 2019 10:40:35 +0000 (12 12:40 +0200)
tree9ef393f17310b73fef3378e9d391c6a51f32d894
parentc95df3d108028ff5a709ee3aefdb14401b07cb39
s390-bios: ptr2u32 and u32toptr

Introduce inline functions to convert between pointers and unsigned 32-bit
ints. These are used to hide the ugliness required to  avoid compiler
warnings.

Signed-off-by: Jason J. Herne <jjherne@linux.ibm.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1554388475-18329-8-git-send-email-jjherne@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/helper.h [new file with mode: 0644]