powerpc/iseries: Mark signal_vsp_instruction() as maybe unused
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 11 Jun 2009 02:18:49 +0000 (02:18 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 15 Jun 2009 03:27:37 +0000 (13:27 +1000)
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>
arch/powerpc/platforms/iseries/mf.c

index 3689c24..fef4d51 100644 (file)
@@ -267,7 +267,8 @@ static struct pending_event *new_pending_event(void)
        return ev;
 }
 
-static int signal_vsp_instruction(struct vsp_cmd_data *vsp_cmd)
+static int __maybe_unused
+signal_vsp_instruction(struct vsp_cmd_data *vsp_cmd)
 {
        struct pending_event *ev = new_pending_event();
        int rc;