Skip to content

Commit c403db6

Browse files
huthstffrdhrn
authored andcommitted
openrisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi headers
__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: Jonas Bonn <[email protected]> Cc: Stefan Kristiansson <[email protected]> Cc: Stafford Horne <[email protected]> Cc: [email protected] Signed-off-by: Thomas Huth <[email protected]> Signed-off-by: Stafford Horne <[email protected]>
1 parent 0ff41df commit c403db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/openrisc/include/uapi/asm/ptrace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#ifndef _UAPI__ASM_OPENRISC_PTRACE_H
2121
#define _UAPI__ASM_OPENRISC_PTRACE_H
2222

23-
#ifndef __ASSEMBLY__
23+
#ifndef __ASSEMBLER__
2424
/*
2525
* This is the layout of the regset returned by the GETREGSET ptrace call
2626
*/

0 commit comments

Comments
 (0)