Skip to content

Commit

Permalink
xtensa: drop unused fast_io_protect function
Browse files Browse the repository at this point in the history
fast_io_protect is not used anywhere, drop its definition.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
  • Loading branch information
Max Filippov committed May 1, 2017
1 parent 60e22cf commit d9c7710
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions arch/xtensa/kernel/coprocessor.S
Original file line number Diff line number Diff line change
Expand Up @@ -26,30 +26,6 @@
#include <asm/signal.h>
#include <asm/tlbflush.h>

/*
* Entry condition:
*
* a0: trashed, original value saved on stack (PT_AREG0)
* a1: a1
* a2: new stack pointer, original in DEPC
* a3: a3
* depc: a2, original value saved on stack (PT_DEPC)
* excsave_1: dispatch table
*
* PT_DEPC >= VALID_DOUBLE_EXCEPTION_ADDRESS: double exception, DEPC
* < VALID_DOUBLE_EXCEPTION_ADDRESS: regular exception
*/

/* IO protection is currently unsupported. */

ENTRY(fast_io_protect)

wsr a0, excsave1
movi a0, unrecoverable_exception
callx0 a0

ENDPROC(fast_io_protect)

#if XTENSA_HAVE_COPROCESSORS

/*
Expand Down

0 comments on commit d9c7710

Please sign in to comment.