diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-05-08 00:24:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:14:59 -0700 |
commit | b2ead6e012e2b2ab31851c288e0dd7872884a8a3 (patch) | |
tree | 8f1420e1d420e5fd96ef85a622f638615c67302c /init/main.c | |
parent | 3c308798a337d75d846773dd64155860852931fc (diff) | |
download | op-kernel-dev-b2ead6e012e2b2ab31851c288e0dd7872884a8a3.zip op-kernel-dev-b2ead6e012e2b2ab31851c288e0dd7872884a8a3.tar.gz |
fix section mismatch warning in lib/swiotlb.c
kbuild spits outs following warning on a
defconfig x86_64 build:
WARNING: swiotlb.o - Section mismatch: reference to .init.text:swiotlb_init from __ksymtab between '__ksymtab_swiotlb_init' (at offset 0xa0) and '__ksymtab_swiotlb_free_coherent'
This warning happens because the function swiotlb_init is marked __init and
EXPORT_SYMBOL(). A 'git grep swiotlb_init' showed no users in drivers/ so
remove the EXPORT_SYMBOL.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Andi Kleen <ak@suse.de>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions