diff options
| author | Davide Pesavento <davidepesa@gmail.com> | 2008-09-27 19:29:12 +0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2008-09-30 22:07:25 +0400 |
| commit | b0dee5784dff3e2984510a7fe7a7e48109001f94 (patch) | |
| tree | 9026be9196ccfc107d8a19c0073a395f4208ba09 /include/linux | |
| parent | 4c99f3e4cfc3190e01c55e72d15a837d9dc41426 (diff) | |
| download | linux-b0dee5784dff3e2984510a7fe7a7e48109001f94.tar.xz | |
Fix modpost failure when rx handlers are not inlined.
When CONFIG_MAC80211_MESH=n and CONFIG_MAC80211_NOINLINE=y,
gcc doesn't optimize out a call to ieee80211_rx_h_mesh_fwding,
even if the previous comparison is always false in this case.
This leads to the following errors during modpost:
ERROR: "mpp_path_lookup" [net/mac80211/mac80211.ko] undefined!
ERROR: "mpp_path_add" [net/mac80211/mac80211.ko] undefined!
Fix by removing the possibility of uninlining
ieee80211_rx_h_mesh_fwding rx handler.
Signed-off-by: Davide Pesavento <davidepesa@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
