Commit 8ca2d515 authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Michael Ellerman

powerpc/prom_init: Move a few remaining statics to appropriate sections

Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent d00e34b9
...@@ -173,7 +173,7 @@ static unsigned long __prombss prom_tce_alloc_end; ...@@ -173,7 +173,7 @@ static unsigned long __prombss prom_tce_alloc_end;
#endif #endif
#ifdef CONFIG_PPC_PSERIES #ifdef CONFIG_PPC_PSERIES
static bool prom_radix_disable __prombss; static bool __prombss prom_radix_disable;
#endif #endif
struct platform_support { struct platform_support {
...@@ -210,7 +210,7 @@ static int __prombss mem_reserve_cnt; ...@@ -210,7 +210,7 @@ static int __prombss mem_reserve_cnt;
static cell_t __prombss regbuf[1024]; static cell_t __prombss regbuf[1024];
static bool rtas_has_query_cpu_stopped; static bool __prombss rtas_has_query_cpu_stopped;
/* /*
...@@ -525,8 +525,8 @@ static void add_string(char **str, const char *q) ...@@ -525,8 +525,8 @@ static void add_string(char **str, const char *q)
static char *tohex(unsigned int x) static char *tohex(unsigned int x)
{ {
static char digits[] = "0123456789abcdef"; static const char digits[] __initconst = "0123456789abcdef";
static char result[9]; static char result[9] __prombss;
int i; int i;
result[8] = 0; result[8] = 0;
...@@ -2327,7 +2327,7 @@ static void __init scan_dt_build_struct(phandle node, unsigned long *mem_start, ...@@ -2327,7 +2327,7 @@ static void __init scan_dt_build_struct(phandle node, unsigned long *mem_start,
char *namep, *prev_name, *sstart, *p, *ep, *lp, *path; char *namep, *prev_name, *sstart, *p, *ep, *lp, *path;
unsigned long soff; unsigned long soff;
unsigned char *valp; unsigned char *valp;
static char pname[MAX_PROPERTY_NAME]; static char pname[MAX_PROPERTY_NAME] __prombss;
int l, room, has_phandle = 0; int l, room, has_phandle = 0;
dt_push_token(OF_DT_BEGIN_NODE, mem_start, mem_end); dt_push_token(OF_DT_BEGIN_NODE, mem_start, mem_end);
......
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