DescriptionRemove #include <asm/unistd.h> from linux_syscall_ranges.h and syscall.cc.
The header is included for __NR_SYSCALL_BASE and __ARM_NR_BASE.
Some toolchain (in particular, PNaCl toolchain) does not provide
asm/unistd.h (so that neither __NR_SYSCALL_BASE nor __ARM_NR_BASE
is provided).
This CL removes the dependency to asm/unistd.h from linux_syscall_ranges.h,
instead define the values if necessary.
Also, this CL removes the include from syscall.cc, too, which is
unused.
TEST=Ran bots.
BUG=358465
Committed: https://crrev.com/c2352bce792e735fc6be6f2d62c03652a3111e16
Cr-Commit-Position: refs/heads/master@{#324371}
Patch Set 1 #
Total comments: 4
Patch Set 2 : #
Messages
Total messages: 10 (4 generated)
|