Commit 8ee15471 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Steven Rostedt
Browse files

mm: rt: Fix generic kmap_atomic for RT



The update to 4.1 brought in the mainline variant of the pagefault
disable distangling from preempt count. That introduced a
preempt_disable/enable pair in the generic kmap_atomic/kunmap_atomic
implementations which got not converted to the _nort() variant.

That results in massive 'scheduling while atomic/sleeping function
called from invalid context' splats.

Fix that up.

Reported-and-tested-by: default avatarJuergen Borleis <jbe@pengutronix.de>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent e7ba36f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment