Fix c6x's entry.S
PATCH 1/1 Fix c6x's entry.S
The ENDPROC() on sys_fadvise64_c6x() in arch/c6x/kernel/entry.S needs to be transposed with the preceding #endif so that it's in the same conditional block as the matching ENTRY() macro.
Without this, I see:
/tmp/ccGZBaPT.s: Assembler messages:/tmp/ccGZBaPT.s: Error: .size expression for sys_fadvise64_c6x does not evaluate to a constant
---
arch/c6x/kernel/entry.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/c6x/kernel/entry.S +1 -1
@@ -741,8 +741,8 @@ ENTRY(sys_fadvise64_c6x) #endif MV .D1X B6,A6 MV .D2X A8,B6 -#endif ENDPROC(sys_fadvise64_c6x) +#endif ;; On Entry ;; A4 - fd
Quoted 20 lines · David Howells
The
ENDPROC()onsys_fadvise64_c6x()inarch/c6x/kernel/entry.Sneeds to be transposed with the preceding #endif so that it's in the same conditional block as the matchingENTRY()macro.Without this, I see:
/tmp/ccGZBaPT.s: Assembler messages:/tmp/ccGZBaPT.s: Error: .size expression forsys_fadvise64_c6xdoes not evaluate to a constantSigned-off-by David Howells <[email protected]>---
arch/c6x/kernel/entry.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)arch/c6x/kernel/entry.S +0
-0
arch/c6x/kernel/entry.S ENTRY(sys_fadvise64_c6x) · line 745
Quoted 6 lines
arch/c6x/kernel/entry.S +1
-1@@ -741,8 +741,8 @@ ENTRY(sys_fadvise64_c6x) #endif MV .D1X B6,A6 MV .D2X A8,B6 -#endif ENDPROC(sys_fadvise64_c6x) +#endif
Thanks! Actually, I'll delete sys_fadvise64_c6x altogether. It is leftover cruft since we no longer support __ARCH_WANT_SYSCALL_OFF_T.
As an aside, the build tools I'm using didn't catch that. I definitely need to upgrade...
--Mark