From df39ffc5567b3f03bb6260ff0dca8ad7bbbb2f71 Mon Sep 17 00:00:00 2001 From: Martin Hicks <mort@sgi.com> Date: Wed, 18 Feb 2004 18:50:29 -0800 Subject: [PATCH] [PATCH] ia64: clean up SN2 setup.c Cleanup the SN setup.c file. Add __init and static to functions where required. --- arch/ia64/sn/kernel/setup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/ia64/sn/kernel/setup.c b/arch/ia64/sn/kernel/setup.c index d88bf1f4ca80..2518cac150ab 100644 --- a/arch/ia64/sn/kernel/setup.c +++ b/arch/ia64/sn/kernel/setup.c @@ -85,6 +85,7 @@ int numionodes; u64 master_node_bedrock_address; static void sn_init_pdas(char **); +static void scan_for_ionodes(void); static nodepda_t *nodepdaindr[MAX_COMPACT_NODES]; @@ -131,7 +132,7 @@ char drive_info[4*16]; * may not be initialized yet. */ -static int +static int __init pxm_to_nasid(int pxm) { int i; @@ -358,11 +359,10 @@ sn_setup(char **cmdline_p) * * One time setup for Node Data Area. Called by sn_setup(). */ -void +void __init sn_init_pdas(char **cmdline_p) { cnodeid_t cnode; - void scan_for_ionodes(void); /* * Make sure that the PDA fits entirely in the same page as the @@ -498,7 +498,7 @@ sn_cpu_init(void) * physical_node_map and the pda and increment numionodes. */ -void +static void __init scan_for_ionodes(void) { int nasid = 0; -- 2.30.9