mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[POWERPC] irqtrace support for 64-bit powerpc
This adds the low level irq tracing hooks to the powerpc architecture needed to enable full lockdep functionality. This is partly based on Johannes Berg's initial version. I removed the asm trampoline that isn't needed (thus improving performance) and modified all sorts of bits and pieces, reworking most of the assembly, etc... Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
fd3e0bbc60
commit
945feb174b
11 changed files with 136 additions and 54 deletions
|
@ -114,7 +114,7 @@ static inline void set_soft_enabled(unsigned long enable)
|
|||
: : "r" (enable), "i" (offsetof(struct paca_struct, soft_enabled)));
|
||||
}
|
||||
|
||||
void local_irq_restore(unsigned long en)
|
||||
void raw_local_irq_restore(unsigned long en)
|
||||
{
|
||||
/*
|
||||
* get_paca()->soft_enabled = en;
|
||||
|
@ -174,6 +174,7 @@ void local_irq_restore(unsigned long en)
|
|||
|
||||
__hard_irq_enable();
|
||||
}
|
||||
EXPORT_SYMBOL(raw_local_irq_restore);
|
||||
#endif /* CONFIG_PPC64 */
|
||||
|
||||
int show_interrupts(struct seq_file *p, void *v)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue