Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae15a3b4 authored by Daniel Kiper's avatar Daniel Kiper Committed by Konrad Rzeszutek Wilk
Browse files

arch/x86/xen/setup: Cleanup code/data sections definitions



Cleanup code/data sections definitions
accordingly to include/linux/init.h.

Signed-off-by: default avatarDaniel Kiper <dkiper@net-space.pl>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent ad3062a0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ phys_addr_t xen_extra_mem_start, xen_extra_mem_size;
 */
#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;

@@ -336,7 +336,7 @@ static void __init fiddle_vdso(void)
#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 = {
		.type = type,