irqflags.h (e23c34bb41da65f354fb7eee04300c56ee48f60c) irqflags.h (b1576fec7f4dd4657694fefc97fda4cf28ec68e9)
1/*
2 * IRQ flags handling
3 */
4#ifndef _ASM_IRQFLAGS_H
5#define _ASM_IRQFLAGS_H
6
7#ifndef __ASSEMBLY__
8/*

--- 22 unchanged lines hidden (view full) ---

31 bl func;
32#endif
33
34/*
35 * Most of the CPU's IRQ-state tracing is done from assembly code; we
36 * have to call a C function so call a wrapper that saves all the
37 * C-clobbered registers.
38 */
1/*
2 * IRQ flags handling
3 */
4#ifndef _ASM_IRQFLAGS_H
5#define _ASM_IRQFLAGS_H
6
7#ifndef __ASSEMBLY__
8/*

--- 22 unchanged lines hidden (view full) ---

31 bl func;
32#endif
33
34/*
35 * Most of the CPU's IRQ-state tracing is done from assembly code; we
36 * have to call a C function so call a wrapper that saves all the
37 * C-clobbered registers.
38 */
39#define TRACE_ENABLE_INTS TRACE_WITH_FRAME_BUFFER(.trace_hardirqs_on)
40#define TRACE_DISABLE_INTS TRACE_WITH_FRAME_BUFFER(.trace_hardirqs_off)
39#define TRACE_ENABLE_INTS TRACE_WITH_FRAME_BUFFER(trace_hardirqs_on)
40#define TRACE_DISABLE_INTS TRACE_WITH_FRAME_BUFFER(trace_hardirqs_off)
41
42/*
43 * This is used by assembly code to soft-disable interrupts first and
44 * reconcile irq state.
45 */
46#define RECONCILE_IRQ_STATE(__rA, __rB) \
47 lbz __rA,PACASOFTIRQEN(r13); \
48 lbz __rB,PACAIRQHAPPENED(r13); \

--- 23 unchanged lines hidden ---
41
42/*
43 * This is used by assembly code to soft-disable interrupts first and
44 * reconcile irq state.
45 */
46#define RECONCILE_IRQ_STATE(__rA, __rB) \
47 lbz __rA,PACASOFTIRQEN(r13); \
48 lbz __rB,PACAIRQHAPPENED(r13); \

--- 23 unchanged lines hidden ---