diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-09-20 09:21:28 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-09-20 09:21:31 +0200 |
commit | 2db4aa5c32831454afcc807b9505bd196f688293 (patch) | |
tree | b13a30cee91eec08dde02abd091f76ecc4cb5128 /include | |
parent | e4c138e0286e5ae8fd95f2e7e2dd8cc8c49698ca (diff) | |
download | barebox-2db4aa5c32831454afcc807b9505bd196f688293.tar.gz barebox-2db4aa5c32831454afcc807b9505bd196f688293.tar.xz |
rename __initdata to __early_initdata
The __initdata define was present before Jean-Christophe
added it as fake value for Linux compatibility. Rename
the previous define to a different name to avoid
clashes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/reloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/reloc.h b/include/reloc.h index a5ad7575b1..22cb886ccf 100644 --- a/include/reloc.h +++ b/include/reloc.h @@ -30,7 +30,7 @@ void early_init(void); * put a variable into early init RAM. This section will * be relocated into SRAM during early init */ -#define __initdata __attribute__ ((__section__ (".early_init_data"))) +#define __early_initdata __attribute__ ((__section__ (".early_init_data"))) /* Access init data */ #define INITDATA(var) *(typeof(var) *)((ulong)(&var) - \ @@ -53,7 +53,7 @@ static inline void early_init(void) #define RELOC(a) a #define RELOC_VAR(v) v -#define __initdata +#define __early_initdata #define INITDATA(var) var |