aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/udbg_memcons.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-05-06 17:04:02 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-05-07 03:13:57 -0400
commit5737789c8340620d7b542d1d4e9b197de8eb2801 (patch)
treebd441fd76c05008b482c190d219978f9df8bb972 /arch/powerpc/sysdev/udbg_memcons.c
parentd5dae721308ac5d5db03bf3aebaa15fcdcfb4862 (diff)
powerpc: Make hard_irq_disable() do the right thing vs. irq tracing
If hard_irq_disable() is called while interrupts are already soft-disabled (which is the most common case) all is already well. However you can (and in some cases want) to call it while everything is enabled (to make sure you don't get a lazy even, for example before entry into KVM guests) and in this case we need to inform the irq tracer that the irqs are going off. We have to change the inline into a macro to avoid an include circular dependency hell hole. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/udbg_memcons.c')
0 files changed, 0 insertions, 0 deletions