aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/mm/init_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c
index 3fd8e18bed80..8415f614ce0c 100644
--- a/arch/sparc/mm/init_64.c
+++ b/arch/sparc/mm/init_64.c
@@ -785,7 +785,7 @@ static int find_node(unsigned long addr)
785 return -1; 785 return -1;
786} 786}
787 787
788u64 memblock_nid_range(u64 start, u64 end, int *nid) 788static u64 memblock_nid_range(u64 start, u64 end, int *nid)
789{ 789{
790 *nid = find_node(start); 790 *nid = find_node(start);
791 start += PAGE_SIZE; 791 start += PAGE_SIZE;
@@ -803,7 +803,7 @@ u64 memblock_nid_range(u64 start, u64 end, int *nid)
803 return start; 803 return start;
804} 804}
805#else 805#else
806u64 memblock_nid_range(u64 start, u64 end, int *nid) 806static u64 memblock_nid_range(u64 start, u64 end, int *nid)
807{ 807{
808 *nid = 0; 808 *nid = 0;
809 return end; 809 return end;