[Xen-devel] [PATCH] arm64: remove PSR bit macros from uapi

Marc Zyngier
2013-04-12T16:17:01Z

On Fri, 12 Apr 2013 17:06:29 +0100, Ian Campbell <Ian.Campbell@citrix.com>
wrote:

[...]

> On the flip side is there any reason for the Linux uapi headers to be
> including architectural constants? e.g. the x86 uapi/ptrace.h doesn't
> define the RFLAGS bits etc...

My favourite userspace program (aka the other platform emulation that
shall not ever be merged) needs it. QEMU probably will as well.

Of course, we could define them locally, but that seems like a massive
waste of perfectly innocent bytes. or convince the power that be to merge
the damned thing so we can include kernel headers with any remorse... ;-)

M.
--
Fast, cheap, reliable. Pick two.