mcctrl: fix padding for 128bytes SCD message
This commit is contained in:
@@ -111,7 +111,6 @@ struct ikc_scd_packet {
|
|||||||
int ref;
|
int ref;
|
||||||
int osnum;
|
int osnum;
|
||||||
int pid;
|
int pid;
|
||||||
int padding;
|
|
||||||
unsigned long arg;
|
unsigned long arg;
|
||||||
struct syscall_request req;
|
struct syscall_request req;
|
||||||
unsigned long resp_pa;
|
unsigned long resp_pa;
|
||||||
@@ -124,6 +123,7 @@ struct ikc_scd_packet {
|
|||||||
long sysfs_arg3;
|
long sysfs_arg3;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
char padding[12];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct mcctrl_priv {
|
struct mcctrl_priv {
|
||||||
|
|||||||
@@ -209,7 +209,6 @@ struct ikc_scd_packet {
|
|||||||
int ref;
|
int ref;
|
||||||
int osnum;
|
int osnum;
|
||||||
int pid;
|
int pid;
|
||||||
int padding;
|
|
||||||
unsigned long arg;
|
unsigned long arg;
|
||||||
struct syscall_request req;
|
struct syscall_request req;
|
||||||
unsigned long resp_pa;
|
unsigned long resp_pa;
|
||||||
@@ -222,6 +221,7 @@ struct ikc_scd_packet {
|
|||||||
long sysfs_arg3;
|
long sysfs_arg3;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
char padding[12];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct syscall_response {
|
struct syscall_response {
|
||||||
|
|||||||
@@ -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)
|
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;
|
struct ihk_ikc_channel_desc *syscall_channel;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user