__ASSEMBLY__ is only defined by the Makefile of the kernel, so this is not really useful for uapi headers (unless the userspace Makefile defines it, too). Let's switch to __ASSEMBLER__ which gets set automatically by the compiler when compiling assembly code. This is a completely mechanical patch (done with a simple "sed -i" statement). Cc: David S. Miller <davem@davemloft.net> Cc: Andreas Larsson <andreas@gaisler.com> Cc: sparclinux@vger.kernel.org Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Andreas Larsson <andreas@gaisler.com> |
||
|---|---|---|
| .. | ||
| Kbuild | ||
| apc.h | ||
| asi.h | ||
| auxvec.h | ||
| bitsperlong.h | ||
| byteorder.h | ||
| display7seg.h | ||
| envctrl.h | ||
| errno.h | ||
| fbio.h | ||
| fcntl.h | ||
| ioctl.h | ||
| ioctls.h | ||
| ipcbuf.h | ||
| mman.h | ||
| msgbuf.h | ||
| openpromio.h | ||
| oradax.h | ||
| param.h | ||
| perfctr.h | ||
| poll.h | ||
| posix_types.h | ||
| psr.h | ||
| psrcompat.h | ||
| pstate.h | ||
| ptrace.h | ||
| resource.h | ||
| sembuf.h | ||
| setup.h | ||
| shmbuf.h | ||
| sigcontext.h | ||
| siginfo.h | ||
| signal.h | ||
| socket.h | ||
| stat.h | ||
| swab.h | ||
| termbits.h | ||
| termios.h | ||
| traps.h | ||
| uctx.h | ||
| unistd.h | ||
| utrap.h | ||
| watchdog.h | ||