summaryrefslogtreecommitdiff
path: root/Documentation/ia64/xen.rst
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2020-09-29 22:25:18 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-29 14:02:54 -0700
commitc35a0824e88bf444c978080ef7698bcf73f44c20 (patch)
treeec81a04c38a8578b7a9bd98f39e6e017c30510d3 /Documentation/ia64/xen.rst
parentf127bab4fa2083218fc549c7aef6768de7eb871f (diff)
net: fec_mpc52xx: Replace in_interrupt() usage
The usage of in_interrupt() in drivers is phased out and Linus clearly requested that code which changes behaviour depending on context should either be seperated or the context be conveyed in an argument passed by the caller, which usually knows the context. mpc52xx_fec_stop() uses in_interrupt() to check if it is safe to sleep. All callers run in well defined contexts. Pass an argument from the callers indicating whether it is safe to sleep. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/ia64/xen.rst')
0 files changed, 0 insertions, 0 deletions