Skip to content

Commit

Permalink
Move PREEMPT_NOTIFIERS into an always-included Kconfig
Browse files Browse the repository at this point in the history
Kconfig.preempt is not included on some archs (for example, m68k).  On those
archs, the Kconfig machinery complains that KVM selects an undefined symbol
PREEMPT_NOTIFIERS (which lives in Kconfig.preempt).

So move the offending symbol into a Kconfig file which is included by
everyone.

Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
avikivity authored and Linus Torvalds committed Oct 17, 2007
1 parent 328dfd0 commit e98c320
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -689,3 +689,6 @@ config STOP_MACHINE
Need stop_machine() primitive.

source "block/Kconfig"

config PREEMPT_NOTIFIERS
bool
3 changes: 0 additions & 3 deletions kernel/Kconfig.preempt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,3 @@ config PREEMPT_BKL
Say Y here if you are building a kernel for a desktop system.
Say N if you are unsure.

config PREEMPT_NOTIFIERS
bool

0 comments on commit e98c320

Please sign in to comment.