]> git.baikalelectronics.ru Git - kernel.git/commit
C6X: remove dead code from entry.S
authorMark Salter <msalter@redhat.com>
Fri, 16 Mar 2012 13:27:57 +0000 (09:27 -0400)
committerMark Salter <msalter@redhat.com>
Fri, 16 Mar 2012 13:27:57 +0000 (09:27 -0400)
commit21915fd2428abe9a45b2b9fdfc155db88a07c592
tree4e909e869cf6da4cbe88685f1012eccf9db99aca
parent79b56e37e142e22750dbe8363769aaa8d7d5cbe9
C6X: remove dead code from entry.S

The ENDPROC() on sys_fadvise64_c6x() in arch/c6x/kernel/entry.S is
outside of the conditional block with the matching ENTRY() macro. This
leads a newer (v2.22 vs. v2.20) assembler to complain:

  /tmp/ccGZBaPT.s: Assembler messages:
  /tmp/ccGZBaPT.s: Error: .size expression for sys_fadvise64_c6x does not evaluate to a constant

The conditional block became dead code when c6x switched to generic
unistd.h and should be removed along with the offending ENDPROC().

Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
arch/c6x/kernel/entry.S