[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140507224656.e06286af4392251135862718@skynet.be>
Date: Wed, 7 May 2014 22:46:56 +0200
From: Fabian Frederick <fabf@...net.be>
To: linux-kernel <linux-kernel@...r.kernel.org>
Cc: akpm <akpm@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>
Subject: [PATCH 2/2] kernel/stop_machine.c: remove false assignment to
static
This patch also fixes function prototype over 80 characters
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
kernel/stop_machine.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c
index 695f0c6..8d29ee2 100644
--- a/kernel/stop_machine.c
+++ b/kernel/stop_machine.c
@@ -42,7 +42,7 @@ struct cpu_stopper {
static DEFINE_PER_CPU(struct cpu_stopper, cpu_stopper);
static DEFINE_PER_CPU(struct task_struct *, cpu_stopper_task);
-static bool stop_machine_initialized = false;
+static bool stop_machine_initialized;
/*
* Avoids a race between stop_two_cpus and global stop_cpus, where
@@ -241,7 +241,8 @@ static void irq_cpu_stop_queue_work(void *arg)
*
* returns when both are completed.
*/
-int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg)
+int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn,
+ void *arg)
{
struct cpu_stop_done done;
struct cpu_stop_work work1, work2;
--
1.8.4.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists