39439f6909
On single-core targets, system_init() is only called from init() in main.c, which is also INIT_ATTR, so this is safe. Multi-core targets additionally call system_init() from cop_main(), which isn't marked INIT_ATTR. I'm fairly certain that it would be safe to add INIT_ATTR to cop_main() with a bit of refactoring, but I don't have a way of testing it. So for now, leave INIT_ATTR off for multi-core targets. Change-Id: I8fe4358f975880ca317d46bda01d7d9db529d3e3 |
||
---|---|---|
.. | ||
adc-gigabeat-s.c | ||
adc-target.h | ||
audio-gigabeat-s.c | ||
backlight-gigabeat-s.c | ||
backlight-target.h | ||
button-gigabeat-s.c | ||
button-target.h | ||
dvfs_dptc_tables-target.h | ||
fmradio-i2c-gigabeat-s.c | ||
gpio-target.h | ||
headphone-gigabeat-s.c | ||
i2s-gigabeat-s.c | ||
kernel-gigabeat-s.c | ||
lcd-gigabeat-s.c | ||
lcd-target.h | ||
mc13783-target.h | ||
pcm-gigabeat-s.c | ||
power-gigabeat-s.c | ||
power-gigabeat-s.h | ||
powermgmt-gigabeat-s.c | ||
powermgmt-target.h | ||
system-gigabeat-s.c | ||
system-target.h | ||
timer-gigabeat-s.c | ||
usb-gigabeat-s.c | ||
wmcodec-gigabeat-s.c |