]> git.baikalelectronics.ru Git - kernel.git/commit
flex_array: export symbols to modules
authorDavid Rientjes <rientjes@google.com>
Thu, 13 Jan 2011 00:59:55 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:11 +0000 (08:03 -0800)
commit690e333aeffb30f0f0139696a5ff92bc6e4d3248
tree306f17444a4c5e190ff3b3513204910a386998e8
parent962248415f1d1831e1e7a6ce8568c50ec0789ca8
flex_array: export symbols to modules

Alex said:

  I want to use flex_array to store a sparse array of ATM cell
  re-assembly buffers for my ATM over Ethernet driver.  Using the per-vcc
  user_back structure causes problems when stacked with things like
  br2684.

Add EXPORT_SYMBOL() for all publically accessible flex array functions
and move to obj-y so that modules may use this library.

Signed-off-by: David Rientjes <rientjes@google.com>
Cc: Dave Hansen <dave@linux.vnet.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Reported-by: Alex Bennee <kernel-hacker@bennee.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Makefile
lib/flex_array.c