Commit c718d6b6 authored by Hari Kanigeri's avatar Hari Kanigeri

SYSLINK:ipc-sys manager structure fixes

This patch fixes the sys manager structure misalignment
and a compile warning in nameserver.c
Signed-off-by: default avatarSuman Anna <suman-anna@ti.com>
parent 78518cd4
...@@ -18,6 +18,18 @@ ...@@ -18,6 +18,18 @@
#ifndef __SYSMGR_H_ #ifndef __SYSMGR_H_
#define __SYSMGR_H_ #define __SYSMGR_H_
/* Structure to retrieve the scalability proc info from the slave */
struct sysmgr_proc_config {
u32 proc_id;
u32 use_notify;
u32 use_messageq;
u32 use_heapbuf;
u32 use_frameq;
u32 use_ringio;
u32 use_listmp;
u32 use_nameserver;
u32 boot_mode;
};
/* Function to set the boot load page address for a slave */ /* Function to set the boot load page address for a slave */
void sysmgr_set_boot_load_page(u16 proc_id, u32 boot_load_page); void sysmgr_set_boot_load_page(u16 proc_id, u32 boot_load_page);
......
...@@ -264,7 +264,6 @@ int nameserver_setup(void) ...@@ -264,7 +264,6 @@ int nameserver_setup(void)
error: error:
kfree(list); kfree(list);
printk(KERN_ERR "nameserver_setup failed, retval: %x\n", retval); printk(KERN_ERR "nameserver_setup failed, retval: %x\n", retval);
exit:
return retval; return retval;
} }
EXPORT_SYMBOL(nameserver_setup); EXPORT_SYMBOL(nameserver_setup);
......
...@@ -236,7 +236,6 @@ struct platform_messageq_transportshm_params { ...@@ -236,7 +236,6 @@ struct platform_messageq_transportshm_params {
}; };
struct platform_proc_config_params { struct platform_proc_config_params {
u32 reserved1;
u32 use_notify; u32 use_notify;
u32 use_messageq; u32 use_messageq;
u32 use_heapbuf; u32 use_heapbuf;
...@@ -244,7 +243,6 @@ struct platform_proc_config_params { ...@@ -244,7 +243,6 @@ struct platform_proc_config_params {
u32 use_ring_io; u32 use_ring_io;
u32 use_listmp; u32 use_listmp;
u32 use_nameserver; u32 use_nameserver;
u32 reserved2;
}; };
/** ============================================================================ /** ============================================================================
...@@ -321,7 +319,7 @@ void *platform_sm_heap_phys_addr; ...@@ -321,7 +319,7 @@ void *platform_sm_heap_phys_addr;
/*! /*!
* @brief Scalability info * @brief Scalability info
*/ */
struct platform_proc_config_params pc_params; struct sysmgr_proc_config pc_params;
/* ============================================================================= /* =============================================================================
* APIS * APIS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment