Updated headers from Linux 3.14.15.
Replace inline functions with macros.

This ensures proper recursive expansion of macros when the macros are not
defined in the order they are used.  Such as with the use of the macro
INTERNAL_SYSCALL, either directly or indirectly via another macro.
riscv: Add support for -mno-atomic to gcc and glibc.

When the flag is passed, atomic memory operations (RV32A, RV64A)
are avoided by gcc and glibc.  Atomic locking necessary for NPTL is
done via a new Linux system call.  Previous behavior utilizing
atomic memory instructions (i.e., -matomic) is the default.

This change is mutually dependent on the corresponding change to
riscv-linux.
Merge pull request #11 from darius-bluespec/no-atomic-2

riscv: Add support for -mno-atomic to gcc and glibc.