tile: prefer <arch/intreg.h> to __need_int_reg_t
authorChris Metcalf <cmetcalf@mellanox.com>
Thu, 23 Mar 2017 15:31:19 +0000 (11:31 -0400)
committerChris Metcalf <cmetcalf@mellanox.com>
Mon, 27 Mar 2017 17:56:09 +0000 (13:56 -0400)
commit34649f72b628c7c4966c167b8208f2595ca51251
tree5f64fe185bc5b77bf079f74aecbbe5823592909f
parentc02ed2e75ef4c74e41e421acb4ef1494671585e8
tile: prefer <arch/intreg.h> to __need_int_reg_t

As part of some work in glibc to move away from the "__need" prefix,
this commit breaks away the definitions of __int_reg_t, __uint_reg_t,
__INT_REG_BITS, and __INT_REG_FMT to a separate <arch/intreg.h>
"microheader".  It is then included from <arch/abi.h> to preserve
the semantics of the previous header.

For now, we continue to preserve the __need_int_reg_t semantics
in <arch/abi.h> as well, but anticipate that after a few years
we can obsolete it.
arch/tile/include/uapi/arch/abi.h
arch/tile/include/uapi/arch/intreg.h [new file with mode: 0644]