[PATCH 1/2] arm64: syscallno is secretly an int, make it official
Dave Martin
Dave.Martin at arm.com
Wed Jul 19 07:05:42 PDT 2017
On Wed, Jul 19, 2017 at 03:14:55PM +0200, Lothar Waßmann wrote:
> Hi,
>
> On Tue, 18 Jul 2017 13:41:43 +0100 Dave Martin wrote:
> > The upper 32 bits of the syscallno field in struct pt_regs are handled
> > inconsistently, being sometimes zero extended and sometimes
> > sign-extended. The reason for this appears to be that they are not
> > intentionally significant at all.
> >
> My english parser fails on "not intentionally significant at all".
Hmmm, that was rather convoluted.
How about:
--8<--
In fact, only the lower 32 bits seem to have any real significance for
the behaviour of the code: it's been OK to handle the upper bits
inconsistently because they don't matter.
Cheers
---Dave
More information about the linux-arm-kernel
mailing list