[PATCH 08/38] Fix c6x's entry.S [ver #3]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
---

 arch/c6x/kernel/entry.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/c6x/kernel/entry.S b/arch/c6x/kernel/entry.S
index 3e977cc..91b2e79 100644
--- a/arch/c6x/kernel/entry.S
+++ b/arch/c6x/kernel/entry.S
@@ -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

--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux