diff options
author | Jeremy Fitzhardinge <[email protected]> | 2009-03-22 14:48:44 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-03-23 17:20:50 +0100 |
commit | c8608d6b58981a58ca4aee8308576666c5f7ab0c (patch) | |
tree | 70a150f760c334061cd30f266eea97b9da09c16e /arch/x86/boot/memory.c | |
parent | 7f00a2495bf5b98b097c47be5d6e2d4114ec39bf (diff) |
x86/dmi: fix dmi_alloc() section mismatches
Impact: section mismatch fix
Ingo reports these warnings:
> WARNING: vmlinux.o(.text+0x6a288e): Section mismatch in reference from
> the function dmi_alloc() to the function .init.text:extend_brk()
> The function dmi_alloc() references
> the function __init extend_brk().
> This is often because dmi_alloc lacks a __init annotation or the
> annotation of extend_brk is wrong.
dmi_alloc() is a static inline, and so should be immune to this
kind of error. But force it to be inlined and make it __init
anyway, just to be extra sure.
All of dmi_alloc()'s callers are already __init.
Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Cc: Yinghai Lu <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/x86/boot/memory.c')
0 files changed, 0 insertions, 0 deletions