Thread (7 messages) 7 messages, 4 authors, 2016-05-13

[PATCH] sched/core: don't include asm/mmu_context from drivers

From: arnd@arndb.de (Arnd Bergmann)
Date: 2016-04-29 15:39:39
Also in: lkml

On Friday 29 April 2016 09:42:18 Steven Rostedt wrote:
On Fri, 29 Apr 2016 10:52:32 +0200
Arnd Bergmann [off-list ref] wrote:
quoted
This reverts the earlier fix attempt and works around the problem
by including both linux/mmu_context.h and asm/mmu_context.h from
kernel/sched/core.c. This is not a good solution but seems less
hacky than the alternatives.
What about simply not compiling finish_arch_post_lock_switch() when
building modules?

(untested, not compiled or anything)

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
It should work as well.

I think I suggested doing that the last time the problem came up
a few years ago, but we ended up not including the header instead,
so I kept doing that.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help