Commit df39ffc5 authored by Martin Hicks's avatar Martin Hicks Committed by David Mosberger

[PATCH] ia64: clean up SN2 setup.c

Cleanup the SN setup.c file.  Add __init and static to functions where
required.
parent 6a62de5f
......@@ -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;
......
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