diff options
| author | Max Filippov <jcmvbkbc@gmail.com> | 2015-01-26 16:27:05 -0500 |
|---|---|---|
| committer | Max Filippov <jcmvbkbc@gmail.com> | 2017-05-01 09:58:31 -0400 |
| commit | d9c7710db90c0069ca5eebc060d4571aabea8f74 (patch) | |
| tree | 0077bd023c0ea9e467ef049f07ba0837ebbc7f33 | |
| parent | 60e22cffb53804e5331df4fa3892dacb6f57eb7a (diff) | |
xtensa: drop unused fast_io_protect function
fast_io_protect is not used anywhere, drop its definition.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
| -rw-r--r-- | arch/xtensa/kernel/coprocessor.S | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/xtensa/kernel/coprocessor.S b/arch/xtensa/kernel/coprocessor.S index 6911e384f608..3a98503ad11a 100644 --- a/arch/xtensa/kernel/coprocessor.S +++ b/arch/xtensa/kernel/coprocessor.S | |||
| @@ -26,30 +26,6 @@ | |||
| 26 | #include <asm/signal.h> | 26 | #include <asm/signal.h> |
| 27 | #include <asm/tlbflush.h> | 27 | #include <asm/tlbflush.h> |
| 28 | 28 | ||
| 29 | /* | ||
| 30 | * Entry condition: | ||
| 31 | * | ||
| 32 | * a0: trashed, original value saved on stack (PT_AREG0) | ||
| 33 | * a1: a1 | ||
| 34 | * a2: new stack pointer, original in DEPC | ||
| 35 | * a3: a3 | ||
| 36 | * depc: a2, original value saved on stack (PT_DEPC) | ||
| 37 | * excsave_1: dispatch table | ||
| 38 | * | ||
| 39 | * PT_DEPC >= VALID_DOUBLE_EXCEPTION_ADDRESS: double exception, DEPC | ||
| 40 | * < VALID_DOUBLE_EXCEPTION_ADDRESS: regular exception | ||
| 41 | */ | ||
| 42 | |||
| 43 | /* IO protection is currently unsupported. */ | ||
| 44 | |||
| 45 | ENTRY(fast_io_protect) | ||
| 46 | |||
| 47 | wsr a0, excsave1 | ||
| 48 | movi a0, unrecoverable_exception | ||
| 49 | callx0 a0 | ||
| 50 | |||
| 51 | ENDPROC(fast_io_protect) | ||
| 52 | |||
| 53 | #if XTENSA_HAVE_COPROCESSORS | 29 | #if XTENSA_HAVE_COPROCESSORS |
| 54 | 30 | ||
| 55 | /* | 31 | /* |
