Re: linux-next: Tree for June 6 (frontswap)

From: Randy Dunlap
Date: Mon Jun 06 2011 - 16:06:48 EST


On Mon, 6 Jun 2011 13:20:36 +1000 Stephen Rothwell wrote:

> Hi all,
>
> Changes since 20110603:


Does frontswap need to depend on SWAP?

When SWAP is not enabled:

mm/built-in.o: In function `frontswap_curr_pages':
(.text+0x467c1): undefined reference to `swap_lock'
mm/built-in.o: In function `frontswap_curr_pages':
(.text+0x467ce): undefined reference to `swap_list'
mm/built-in.o: In function `frontswap_curr_pages':
(.text+0x467e6): undefined reference to `swap_info'
mm/built-in.o: In function `frontswap_curr_pages':
(.text+0x467fe): undefined reference to `swap_lock'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x4688d): undefined reference to `swap_lock'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x46898): undefined reference to `swap_list'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x468b6): undefined reference to `swap_info'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x4690d): undefined reference to `swap_info'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x469d3): undefined reference to `swap_lock'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x469ec): undefined reference to `try_to_unuse'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x46a1c): undefined reference to `swap_lock'
mm/built-in.o: In function `__frontswap_flush_area':
(.text+0x46aa4): undefined reference to `swap_info'
mm/built-in.o: In function `__frontswap_get_page':
(.text+0x46b1f): undefined reference to `swap_info'
mm/built-in.o: In function `__frontswap_put_page':
(.text+0x46bf8): undefined reference to `swap_info'
mm/built-in.o: In function `__frontswap_flush_page':
(.text+0x46d86): undefined reference to `swap_info'
mm/built-in.o: In function `frontswap_curr_pages':
(.text+0x467c1): undefined reference to `swap_lock'
mm/built-in.o: In function `frontswap_curr_pages':
(.text+0x467ce): undefined reference to `swap_list'
mm/built-in.o: In function `frontswap_curr_pages':
(.text+0x467e6): undefined reference to `swap_info'
mm/built-in.o: In function `frontswap_curr_pages':
(.text+0x467fe): undefined reference to `swap_lock'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x4688d): undefined reference to `swap_lock'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x46898): undefined reference to `swap_list'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x468b6): undefined reference to `swap_info'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x4690d): undefined reference to `swap_info'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x469d3): undefined reference to `swap_lock'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x469ec): undefined reference to `try_to_unuse'
mm/built-in.o: In function `frontswap_shrink':
(.text+0x46a1c): undefined reference to `swap_lock'
mm/built-in.o: In function `__frontswap_flush_area':
(.text+0x46aa4): undefined reference to `swap_info'
mm/built-in.o: In function `__frontswap_get_page':
(.text+0x46b1f): undefined reference to `swap_info'
mm/built-in.o: In function `__frontswap_put_page':
(.text+0x46bf8): undefined reference to `swap_info'
mm/built-in.o: In function `__frontswap_flush_page':
(.text+0x46d86): undefined reference to `swap_info'

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/