History

softirq: Move do_softirq_own_stack() to generic asm header

To avoid include recursion hell move the do_softirq_own_stack() related content into a generic asm header and include it from all places in arch/ which need the prototype. This allows architectures to provide an inline implementation of do_softirq_own_stack() without introducing a lot of #ifdeffery all over the place.

Thomas Gleixner committed 5 years ago

Commit db1cc7a1 parent cd1a41c11 files · +24 −9Browse files

Showing the changes to kernel (1 of 11 files). Show all

Unified · Split

kernel/softirq.c+2−0
@@ -26,6 +26,8 @@ · 25 unmodified lines
26#include <linux/tick.h>26#include <linux/tick.h>
27#include <linux/irq.h>27#include <linux/irq.h>
28 28
29#include <asm/softirq_stack.h>
30
29#define CREATE_TRACE_POINTS31#define CREATE_TRACE_POINTS
30#include <trace/events/irq.h>32#include <trace/events/irq.h>
31 33

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t