diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-16 20:03:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-16 20:03:15 -0400 |
commit | 9fc005c017101c498f336329c6bdf510bce8ef6e (patch) | |
tree | 31ccea9241be8238096964a2bc6e2f3bb6c10628 /arch | |
parent | c0173863528a8c9212c53e080d63a1aaae5ef4f4 (diff) | |
parent | 6e780cf5c07ab85b9b1825ddd586a53ead10b579 (diff) |
Merge tag 'for-linus' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming
Pull c6x bugfix from Mark Salter:
"Remove dead code from entry.S which causes a build failure when using
a newer assembler (v2.22 complains about it, v2.20 ignores it)."
* tag 'for-linus' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming:
C6X: remove dead code from entry.S
Diffstat (limited to 'arch')
-rw-r--r-- | arch/c6x/kernel/entry.S | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/c6x/kernel/entry.S b/arch/c6x/kernel/entry.S index 3e977ccda827..30b37e5f4a61 100644 --- a/arch/c6x/kernel/entry.S +++ b/arch/c6x/kernel/entry.S | |||
@@ -717,33 +717,6 @@ ENTRY(sys_ftruncate64_c6x) | |||
717 | #endif | 717 | #endif |
718 | ENDPROC(sys_ftruncate64_c6x) | 718 | ENDPROC(sys_ftruncate64_c6x) |
719 | 719 | ||
720 | #ifdef __ARCH_WANT_SYSCALL_OFF_T | ||
721 | ;; On Entry | ||
722 | ;; A4 - fd | ||
723 | ;; B4 - offset_lo (LE), offset_hi (BE) | ||
724 | ;; A6 - offset_lo (BE), offset_hi (LE) | ||
725 | ;; B6 - len | ||
726 | ;; A8 - advice | ||
727 | ENTRY(sys_fadvise64_c6x) | ||
728 | #ifdef CONFIG_C6X_BIG_KERNEL | ||
729 | MVKL .S1 sys_fadvise64,A0 | ||
730 | MVKH .S1 sys_fadvise64,A0 | ||
731 | BNOP .S2X A0,2 | ||
732 | #else | ||
733 | B .S2 sys_fadvise64 | ||
734 | NOP 2 | ||
735 | #endif | ||
736 | #ifdef CONFIG_CPU_BIG_ENDIAN | ||
737 | MV .L2 B4,B5 | ||
738 | || MV .D2X A6,B4 | ||
739 | #else | ||
740 | MV .D2X A6,B5 | ||
741 | #endif | ||
742 | MV .D1X B6,A6 | ||
743 | MV .D2X A8,B6 | ||
744 | #endif | ||
745 | ENDPROC(sys_fadvise64_c6x) | ||
746 | |||
747 | ;; On Entry | 720 | ;; On Entry |
748 | ;; A4 - fd | 721 | ;; A4 - fd |
749 | ;; B4 - offset_lo (LE), offset_hi (BE) | 722 | ;; B4 - offset_lo (LE), offset_hi (BE) |