diff options
author | 2007-07-20 17:20:56 -0700 | |
---|---|---|
committer | 2007-07-20 17:20:56 -0700 | |
commit | 1256efd5519a8eca2dfa6039ce5cf58f44d1626d (patch) | |
tree | 017d998937b938b8555a0b7b97db262919dc453c /lib/swiotlb.c | |
parent | [SPARC64]: fix section mismatch warning in pci_sunv4 (diff) | |
download | wireguard-linux-1256efd5519a8eca2dfa6039ce5cf58f44d1626d.tar.xz wireguard-linux-1256efd5519a8eca2dfa6039ce5cf58f44d1626d.zip |
[SPARC64]: fix section mismatch warning in mdesc.c
Fix following warning:
WARNING: vmlinux.o(.text+0x35264): Section mismatch: reference to .init.text:__alloc_bootmem (between 'mdesc_bootmem_alloc' and 'mdesc_bootmem_free')
Rename mdesc_mem_ops to *_ops so modpost ignores __init references
and declare mdesc_bootmem_alloc __init since it is only used
during __init context.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/swiotlb.c')
0 files changed, 0 insertions, 0 deletions