diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2009-06-10 22:18:49 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-14 23:27:37 -0400 |
commit | e8d1673b9720ec72d85916c6b7d5d476abb2c861 (patch) | |
tree | cd4c02656df94b517eb1fee728ce56a556ca9e91 /arch/powerpc/platforms/iseries | |
parent | 27167c7e9bc3b4b93d1b567e0cf9a3744dd4f1f2 (diff) |
powerpc/iseries: Mark signal_vsp_instruction() as maybe unused
signal_vsp_instruction() is currently only used if CONFIG_PROC_FS
is enabled. However logically it has nothing to do with PROC_FS,
so rather than making it depend on that mark it as maybe unused.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/iseries')
-rw-r--r-- | arch/powerpc/platforms/iseries/mf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/iseries/mf.c b/arch/powerpc/platforms/iseries/mf.c index 3689c2413d2..fef4d515051 100644 --- a/arch/powerpc/platforms/iseries/mf.c +++ b/arch/powerpc/platforms/iseries/mf.c | |||
@@ -267,7 +267,8 @@ static struct pending_event *new_pending_event(void) | |||
267 | return ev; | 267 | return ev; |
268 | } | 268 | } |
269 | 269 | ||
270 | static int signal_vsp_instruction(struct vsp_cmd_data *vsp_cmd) | 270 | static int __maybe_unused |
271 | signal_vsp_instruction(struct vsp_cmd_data *vsp_cmd) | ||
271 | { | 272 | { |
272 | struct pending_event *ev = new_pending_event(); | 273 | struct pending_event *ev = new_pending_event(); |
273 | int rc; | 274 | int rc; |