From fe05e1107c28b4c50ab655d0affa2865dc8d755c Mon Sep 17 00:00:00 2001 From: NAKAMURA Gou Date: Tue, 3 Sep 2013 19:02:07 +0900 Subject: [PATCH] fix alignment of struct syscall_request variable since used with DMA, it must be IHK_DMA_ALIGN --- kernel/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/syscall.c b/kernel/syscall.c index cb7d78c2..422a9e2e 100644 --- a/kernel/syscall.c +++ b/kernel/syscall.c @@ -126,7 +126,7 @@ static void send_syscall(struct syscall_request *req) int do_syscall(struct syscall_request *req, ihk_mc_user_context_t *ctx) { struct syscall_response *res; - struct syscall_request req2; + struct syscall_request req2 IHK_DMA_ALIGN; struct syscall_params *scp; int error;