[mmotm] relay: fix build error

From: KOSAKI Motohiro
Date: Sat Jul 12 2008 - 07:15:24 EST


against: mmotm
patchname: relay-add-buffer-only-channels-useful-for-early-logging-fix.patch
applies after: relay-add-buffer-only-channels-useful-for-early-logging.patch

recently, smp_call_function remove retry argument.
it cause following build error on mmotm.

kernel/relay.c: In function ‘relay_late_setup_files’:
kernel/relay.c:754: error: too many arguments to function ‘smp_call_function_single’
make[1]: *** [kernel/relay.o] error 1



Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
CC: Eduard - Gabriel Munteanu <eduard.munteanu@xxxxxxxxxxx>
Cc: Tom Zanussi <tzanussi@xxxxxxxxx>
CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

---
kernel/relay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/kernel/relay.c
===================================================================
--- a/kernel/relay.c
+++ b/kernel/relay.c
@@ -751,7 +751,7 @@ int relay_late_setup_files(struct rchan
/* relay_channels_mutex must be held, so wait. */
err = smp_call_function_single(i,
__relay_set_buf_dentry,
- &disp, 0, 1);
+ &disp, 1);
}
if (unlikely(err))
break;


--
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/