Commit 565848bb authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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
parents c9b47175 817d2157
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
#ifndef __ASM_CSKY_REGDEF_H
#define __ASM_CSKY_REGDEF_H

#ifdef __ASSEMBLY__
#ifdef __ASSEMBLER__
#define syscallid	r1
#else
#define syscallid	"r1"
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
#ifndef __ASM_CSKY_REGDEF_H
#define __ASM_CSKY_REGDEF_H

#ifdef __ASSEMBLY__
#ifdef __ASSEMBLER__
#define syscallid	r7
#else
#define syscallid	"r7"
+2 −2
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
#ifndef __ASM_CSKY_BARRIER_H
#define __ASM_CSKY_BARRIER_H

#ifndef __ASSEMBLY__
#ifndef __ASSEMBLER__

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

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

#include <asm-generic/barrier.h>

#endif /* __ASSEMBLY__ */
#endif /* __ASSEMBLER__ */
#endif /* __ASM_CSKY_BARRIER_H */
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@

#define ARCH_DMA_MINALIGN	L1_CACHE_BYTES

#ifndef __ASSEMBLY__
#ifndef __ASSEMBLER__

void dcache_wb_line(unsigned long start);

+2 −2
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@

#define MCOUNT_ADDR	((unsigned long)_mcount)

#ifndef __ASSEMBLY__
#ifndef __ASSEMBLER__

extern void _mcount(unsigned long);

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

#endif /* !__ASSEMBLY__ */
#endif /* !__ASSEMBLER__ */
#endif /* __ASM_CSKY_FTRACE_H */
Loading