From: Frederic Weisbecker <fweisbec@gmail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: LKML <linux-kernel@vger.kernel.org>,
Frederic Weisbecker <fweisbec@gmail.com>,
Hirokazu Takata <takata@linux-m32r.org>
Subject: [PATCH 1/3] m32r: Use generic PREEMPT config
Date: Tue, 5 Jul 2011 18:04:26 +0200 [thread overview]
Message-ID: <1309881868-9483-2-git-send-email-fweisbec@gmail.com> (raw)
In-Reply-To: <1309881868-9483-1-git-send-email-fweisbec@gmail.com>
Use the generic preempt config definition in m32r instead of
using a custom one.
This also makes it handle the new CONFIG_PREEMPT_COUNT that
need to be selected by CONFIG_PREEMPT.
Without that it breaks
kernel/sched.c: In function 'preempt_schedule':
kernel/sched.c:4364: error: implicit declaration of function 'add_preempt_count_notrace'
kernel/sched.c:4366: error: implicit declaration of function 'sub_preempt_count_notrace'
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
---
arch/m32r/Kconfig | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig
index 85b44e8..b92b944 100644
--- a/arch/m32r/Kconfig
+++ b/arch/m32r/Kconfig
@@ -268,17 +268,7 @@ config SCHED_OMIT_FRAME_POINTER
bool
default y
-config PREEMPT
- bool "Preemptible Kernel"
- help
- This option reduces the latency of the kernel when reacting to
- real-time or interactive events by allowing a low priority process to
- be preempted even if it is in kernel mode executing a system call.
- This allows applications to run more reliably even when the system is
- under load.
-
- Say Y here if you are building a kernel for a desktop, embedded
- or real-time system. Say N if you are unsure.
+source "kernel/Kconfig.preempt"
config SMP
bool "Symmetric multi-processing support"
--
1.7.5.4
next prev parent reply other threads:[~2011-07-05 16:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-05 16:04 [GIT PULL] sched/preempt fixes Frederic Weisbecker
2011-07-05 16:04 ` Frederic Weisbecker [this message]
2011-07-07 2:04 ` [PATCH 1/3] m32r: Use generic PREEMPT config Hirokazu Takata
2011-07-05 16:04 ` [PATCH 2/3] h8300: Use generic config PREEMPT definition Frederic Weisbecker
2011-07-05 16:04 ` [PATCH 3/3] xtensa: " Frederic Weisbecker
2011-07-06 13:50 ` [GIT PULL] sched/preempt fixes Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1309881868-9483-2-git-send-email-fweisbec@gmail.com \
--to=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=takata@linux-m32r.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome