[PATCH] kernel/stop_machine.c: Fix unused variable waring.

From: Rakib Mullick
Date: Wed Oct 20 2010 - 07:04:20 EST


Fixes the following unused variable warning.

kernel/stop_machine.c: In function ‘cpu_stopper_thread’:
kernel/stop_machine.c:265: warning: unused variable ‘ksym_buf’


Signed-off-by: Rakib Mullick <rakib.mullick@xxxxxxxxx>
---

--- linus-rc8/kernel/stop_machine.c 2010-10-20 16:48:16.000000000 +0600
+++ rakib-rc8/kernel/stop_machine.c 2010-10-20 16:48:35.000000000 +0600
@@ -262,7 +262,7 @@ repeat:
cpu_stop_fn_t fn = work->fn;
void *arg = work->arg;
struct cpu_stop_done *done = work->done;
- char ksym_buf[KSYM_NAME_LEN];
+ char ksym_buf[KSYM_NAME_LEN] __maybe_unused;

__set_current_state(TASK_RUNNING);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/