diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-10-29 14:01:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-30 11:38:46 -0700 |
commit | ce05fcc30ea41c85f9d50bee1ce289f7cb7fb223 (patch) | |
tree | 925dff669191e3a539febf74ad7aadc940ff3d88 /fs/binfmt_elf.c | |
parent | 84ad6d70001df969d7e8569dd18d98d9550277fb (diff) | |
download | op-kernel-dev-ce05fcc30ea41c85f9d50bee1ce289f7cb7fb223.zip op-kernel-dev-ce05fcc30ea41c85f9d50bee1ce289f7cb7fb223.tar.gz |
kernel/profile: fix profile_init() section mismatch
profile_init() calls in to alloc_bootmem() on early initialization. While
alloc_bootmem() is __init, the reference itself is safe in that it is
tucked below a !slab_is_available() check. So, flag profile_init() as
__ref.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: Dave Hansen <dave@linux.vnet.ibm.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions