Skip to content

Commit 565848b

Browse files
committed
Merge tag 'csky-for-linus-6.19' of https://github.com/c-sky/csky-linux
Pull csky updates from Guo Ren: - Remove compile warning for CONFIG_SMP - Fix __ASSEMBLER__ typo in headers - Fix csky_cmpxchg_fixup * tag 'csky-for-linus-6.19' of https://github.com/c-sky/csky-linux: csky: Remove compile warning for CONFIG_SMP csky: Replace __ASSEMBLY__ with __ASSEMBLER__ in uapi header csky: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers csky: fix csky_cmpxchg_fixup not working
2 parents c9b4717 + 817d215 commit 565848b

13 files changed

Lines changed: 21 additions & 20 deletions

File tree

arch/csky/abiv1/inc/abi/regdef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#ifndef __ASM_CSKY_REGDEF_H
44
#define __ASM_CSKY_REGDEF_H
55

6-
#ifdef __ASSEMBLY__
6+
#ifdef __ASSEMBLER__
77
#define syscallid r1
88
#else
99
#define syscallid "r1"

arch/csky/abiv2/inc/abi/regdef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#ifndef __ASM_CSKY_REGDEF_H
44
#define __ASM_CSKY_REGDEF_H
55

6-
#ifdef __ASSEMBLY__
6+
#ifdef __ASSEMBLER__
77
#define syscallid r7
88
#else
99
#define syscallid "r7"

arch/csky/include/asm/barrier.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#ifndef __ASM_CSKY_BARRIER_H
44
#define __ASM_CSKY_BARRIER_H
55

6-
#ifndef __ASSEMBLY__
6+
#ifndef __ASSEMBLER__
77

88
#define nop() asm volatile ("nop\n":::"memory")
99

@@ -84,5 +84,5 @@
8484

8585
#include <asm-generic/barrier.h>
8686

87-
#endif /* __ASSEMBLY__ */
87+
#endif /* __ASSEMBLER__ */
8888
#endif /* __ASM_CSKY_BARRIER_H */

arch/csky/include/asm/cache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#define ARCH_DMA_MINALIGN L1_CACHE_BYTES
1212

13-
#ifndef __ASSEMBLY__
13+
#ifndef __ASSEMBLER__
1414

1515
void dcache_wb_line(unsigned long start);
1616

arch/csky/include/asm/ftrace.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#define MCOUNT_ADDR ((unsigned long)_mcount)
1313

14-
#ifndef __ASSEMBLY__
14+
#ifndef __ASSEMBLER__
1515

1616
extern void _mcount(unsigned long);
1717

@@ -28,5 +28,5 @@ struct dyn_arch_ftrace {
2828
void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr,
2929
unsigned long frame_pointer);
3030

31-
#endif /* !__ASSEMBLY__ */
31+
#endif /* !__ASSEMBLER__ */
3232
#endif /* __ASM_CSKY_FTRACE_H */

arch/csky/include/asm/jump_label.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#ifndef __ASM_CSKY_JUMP_LABEL_H
44
#define __ASM_CSKY_JUMP_LABEL_H
55

6-
#ifndef __ASSEMBLY__
6+
#ifndef __ASSEMBLER__
77

88
#include <linux/types.h>
99

@@ -48,5 +48,5 @@ void arch_jump_label_transform_static(struct jump_entry *entry,
4848
enum jump_label_type type);
4949
#define arch_jump_label_transform_static arch_jump_label_transform_static
5050

51-
#endif /* __ASSEMBLY__ */
51+
#endif /* __ASSEMBLER__ */
5252
#endif /* __ASM_CSKY_JUMP_LABEL_H */

arch/csky/include/asm/page.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
#define PHYS_OFFSET_OFFSET (CONFIG_DRAM_BASE & (SSEG_SIZE - 1))
2828

29-
#ifndef __ASSEMBLY__
29+
#ifndef __ASSEMBLER__
3030

3131
#include <linux/pfn.h>
3232

@@ -84,5 +84,5 @@ static inline unsigned long virt_to_pfn(const void *kaddr)
8484
#include <asm-generic/memory_model.h>
8585
#include <asm-generic/getorder.h>
8686

87-
#endif /* !__ASSEMBLY__ */
87+
#endif /* !__ASSEMBLER__ */
8888
#endif /* __ASM_CSKY_PAGE_H */

arch/csky/include/asm/ptrace.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <linux/types.h>
99
#include <linux/compiler.h>
1010

11-
#ifndef __ASSEMBLY__
11+
#ifndef __ASSEMBLER__
1212

1313
#define PS_S 0x80000000 /* Supervisor Mode */
1414

@@ -98,5 +98,5 @@ static inline unsigned long regs_get_register(struct pt_regs *regs,
9898

9999
asmlinkage int syscall_trace_enter(struct pt_regs *regs);
100100
asmlinkage void syscall_trace_exit(struct pt_regs *regs);
101-
#endif /* __ASSEMBLY__ */
101+
#endif /* __ASSEMBLER__ */
102102
#endif /* __ASM_CSKY_PTRACE_H */

arch/csky/include/asm/sections.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
extern char _start[];
99

1010
asmlinkage void csky_start(unsigned int unused, void *dtb_start);
11+
asmlinkage void csky_start_secondary(void);
1112

1213
#endif /* __ASM_SECTIONS_H */

arch/csky/include/asm/string.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#ifndef _CSKY_STRING_MM_H_
44
#define _CSKY_STRING_MM_H_
55

6-
#ifndef __ASSEMBLY__
6+
#ifndef __ASSEMBLER__
77
#include <linux/types.h>
88
#include <linux/compiler.h>
99
#include <abi/string.h>

0 commit comments

Comments
 (0)