-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: rpc: make default fiq handler run-time installed
Only rpc uses disable_fiq macro. Change it to a run-time installed default FIQ handler. The handler is installed before FIQ is enabled so the behavior should be unchanged. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Nicolas Pitre <nico@linaro.org>
- Loading branch information
Rob Herring
committed
Feb 21, 2012
1 parent
13a5045
commit 78cbaac
Showing
3 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#include <linux/linkage.h> | ||
#include <asm/assembler.h> | ||
#include <mach/hardware.h> | ||
#include <mach/entry-macro.S> | ||
|
||
.text | ||
|
||
.global rpc_default_fiq_end | ||
ENTRY(rpc_default_fiq_start) | ||
mov r12, #ioc_base_high | ||
.if ioc_base_low | ||
orr r12, r12, #ioc_base_low | ||
.endif | ||
strb r12, [r12, #0x38] @ Disable FIQ register | ||
subs pc, lr, #4 | ||
rpc_default_fiq_end: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters