Re: [mmotm] relay: fix build error

From: Eduard - Gabriel Munteanu
Date: Sat Jul 12 2008 - 12:43:07 EST


On Sat, 12 Jul 2008 20:14:21 +0900
KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:

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

Thanks.

If it matters...
Acked-by: Eduard - Gabriel Munteanu <eduard.munteanu@xxxxxxxxxxx>

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