Skip to content

Commit

Permalink
arch/x86/xen/setup: Cleanup code/data sections definitions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Kiper authored and Konrad Rzeszutek Wilk committed May 12, 2011
1 parent ad3062a commit ae15a3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/xen/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ae15a3b

Please sign in to comment.