diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2011-11-02 22:19:25 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2011-11-03 16:58:36 -0400 |
commit | e0b1f39d55864547242b4e4edb86d737bca3a249 (patch) | |
tree | b8cae9e5dc2e97c50a136d2345789ddd31ffdbfa /MAINTAINERS | |
parent | c3b92c8787367a8bb53d57d9789b558f1295cc96 (diff) | |
download | linux-3.10-e0b1f39d55864547242b4e4edb86d737bca3a249.tar.gz linux-3.10-e0b1f39d55864547242b4e4edb86d737bca3a249.tar.bz2 linux-3.10-e0b1f39d55864547242b4e4edb86d737bca3a249.zip |
arch/tile: avoid ISO namespace pollution with <asm/sigcontext.h>
<asm/sigcontext.h> is used by glibc's <bits/sigcontext.h> from <signal.h>,
which means that it can't clutter the namespace with random symbols
or #defines. However, we use <arch/abi.h> to get a suitable type to
hold a machine register.
This change makes <arch/abi.h> safe to use in this kind of context
if __need_int_reg_t is defined prior to including the file; in that
case, it only defines a few symbols that are safe in the ISO namespace
(prefixed with double underscores). <asm/sigcontext.h> then uses
the __uint_reg_t type instead of the normal uint_reg_t.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions