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)
commit6e780cf5c07ab85b9b1825ddd586a53ead10b579
tree4e909e869cf6da4cbe88685f1012eccf9db99aca
parentfde7d9049e55ab85a390be7f415d74c9f62dd0f9
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