diff options
author | Raghavendra D Prabhu <[email protected]> | 2012-10-08 16:33:55 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-10-09 16:23:01 +0900 |
commit | c22331166b49b94b51424bb7fa1f83e09ad82734 (patch) | |
tree | 2244968e747d81e56d7ff64863074e97e092c09e /fs/jbd/commit.c | |
parent | 3e648ebe076390018c317881d7d926f24d7bac6b (diff) |
mm: avoid section mismatch warning for memblock_type_name
Following section mismatch warning is thrown during build;
WARNING: vmlinux.o(.text+0x32408f): Section mismatch in reference from the function memblock_type_name() to the variable .meminit.data:memblock
The function memblock_type_name() references
the variable __meminitdata memblock.
This is often because memblock_type_name lacks a __meminitdata
annotation or the annotation of memblock is wrong.
This is because memblock_type_name makes reference to memblock variable
with attribute __meminitdata. Hence, the warning (even if the function is
inline).
[[email protected]: remove inline]
Signed-off-by: Raghavendra D Prabhu <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions