mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
arch/x86/xen/setup: Cleanup code/data sections definitions
Cleanup code/data sections definitions accordingly to include/linux/init.h. Signed-off-by: Daniel Kiper <dkiper@net-space.pl> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
parent
ad3062a0f4
commit
ae15a3b4d1
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ phys_addr_t xen_extra_mem_start, xen_extra_mem_size;
|
||||||
*/
|
*/
|
||||||
#define EXTRA_MEM_RATIO (10)
|
#define EXTRA_MEM_RATIO (10)
|
||||||
|
|
||||||
static __init void xen_add_extra_mem(unsigned long pages)
|
static void __init xen_add_extra_mem(unsigned long pages)
|
||||||
{
|
{
|
||||||
unsigned long pfn;
|
unsigned long pfn;
|
||||||
|
|
||||||
|
@ -336,7 +336,7 @@ static void __init fiddle_vdso(void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static __cpuinit int register_callback(unsigned type, const void *func)
|
static int __cpuinit register_callback(unsigned type, const void *func)
|
||||||
{
|
{
|
||||||
struct callback_register callback = {
|
struct callback_register callback = {
|
||||||
.type = type,
|
.type = type,
|
||||||
|
|
Loading…
Reference in a new issue