aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-avr32/setup.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-05-09 03:26:18 -0400
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-05-09 03:26:18 -0400
commitb3cfe0cb37ac7c3ca05a29e308f01c8eb27e06d4 (patch)
tree7d8739b128c2bbe1dd66162d0f987826e007b971 /include/asm-avr32/setup.h
parenta492dbb9e3d04db138f2841648d1904d38a5295d (diff)
[AVR32] Fix section mismatch .taglist -> .init.text
Rename .taglist to .taglist.init to silence section mismatch warnings. The .taglist.init section was already placed in the .init output section along with .init.text, so the warning didn't indicate any real problems. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32/setup.h')
-rw-r--r--include/asm-avr32/setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-avr32/setup.h b/include/asm-avr32/setup.h
index 1ff1a217015d..b0828d43e110 100644
--- a/include/asm-avr32/setup.h
+++ b/include/asm-avr32/setup.h
@@ -110,7 +110,7 @@ struct tagtable {
110 int (*parse)(struct tag *); 110 int (*parse)(struct tag *);
111}; 111};
112 112
113#define __tag __attribute_used__ __attribute__((__section__(".taglist"))) 113#define __tag __attribute_used__ __attribute__((__section__(".taglist.init")))
114#define __tagtable(tag, fn) \ 114#define __tagtable(tag, fn) \
115 static struct tagtable __tagtable_##fn __tag = { tag, fn } 115 static struct tagtable __tagtable_##fn __tag = { tag, fn }
116 116