summaryrefslogtreecommitdiffstats
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2008-06-18 12:36:01 +0100
committerSam Ravnborg <sam@ravnborg.org>2008-07-25 22:12:37 +0200
commitfb5e2b379732e1a6ea32392980bb42e0212db842 (patch)
treece9506474dcd426ea0102836e9b719d7cb73a844 /scripts/kernel-doc
parent37a4c940749670671adab211a2d9c9fed9f3f757 (diff)
downloadop-kernel-dev-fb5e2b379732e1a6ea32392980bb42e0212db842.zip
op-kernel-dev-fb5e2b379732e1a6ea32392980bb42e0212db842.tar.gz
vmlinux.lds: move __attribute__((__cold__)) functions back into final .text section
Due to the addition of __attribute__((__cold__)) to a few symbols without adjusting the linker scripts, those symbols currently may end up outside the [_stext,_etext) range, as they get placed in .text.unlikely by (at least) gcc 4.3.0. This may confuse code not only outside of the kernel, symbol_put_addr()'s BUG() could also trigger. Hence we need to add .text.unlikely (and for future uses of __attribute__((__hot__)) also .text.hot) to the TEXT_TEXT() macro. Issue observed by Lukas Lipavsky. Signed-off-by: Jan Beulich <jbeulich@novell.com> Tested-by: Lukas Lipavsky <llipavsky@suse.cz> Cc: <stable@kernel.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud