mcctrl: fix padding for 128bytes SCD message

This commit is contained in:
Balazs Gerofi
2016-08-14 11:29:02 +09:00
parent 0884e3d543
commit 45e51fcc07
3 changed files with 3 additions and 3 deletions

View File

@@ -111,7 +111,6 @@ struct ikc_scd_packet {
int ref;
int osnum;
int pid;
int padding;
unsigned long arg;
struct syscall_request req;
unsigned long resp_pa;
@@ -124,6 +123,7 @@ struct ikc_scd_packet {
long sysfs_arg3;
};
};
char padding[12];
};
struct mcctrl_priv {

View File

@@ -209,7 +209,6 @@ struct ikc_scd_packet {
int ref;
int osnum;
int pid;
int padding;
unsigned long arg;
struct syscall_request req;
unsigned long resp_pa;
@@ -222,6 +221,7 @@ struct ikc_scd_packet {
long sysfs_arg3;
};
};
char padding[12];
};
struct syscall_response {

View File

@@ -129,7 +129,7 @@ static void do_mod_exit(int status);
static void send_syscall(struct syscall_request *req, int cpu, int pid, struct syscall_response *res)
{
struct ikc_scd_packet packet;
struct ikc_scd_packet packet IHK_DMA_ALIGN;
struct ihk_ikc_channel_desc *syscall_channel;
int ret;