lkml.org 
[lkml]   [2008]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[mmotm] relay: fix build error
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@jp.fujitsu.com>
CC: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Cc: Tom Zanussi <tzanussi@gmail.com>
CC: Andrew Morton <akpm@linux-foundation.org>

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



\
 
 \ /
  Last update: 2008-07-12 13:17    [W:0.040 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site