]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
count_partial() is not used if !SLUB_DEBUG and !CONFIG_SLABINFO
authorChristoph Lameter <clameter@sgi.com>
Wed, 19 Mar 2008 20:42:07 +0000 (13:42 -0700)
committerChristoph Lameter <clameter@sgi.com>
Wed, 26 Mar 2008 17:42:28 +0000 (10:42 -0700)
commit53625b4204753b904addd40ca96d9ba802e6977d
treeb5f3f6e526b8800491cc9952926e6e46bf623df8
parent05dda977f2574c3341abef9b74c27d2b362e1e3a
count_partial() is not used if !SLUB_DEBUG and !CONFIG_SLABINFO

Avoid warnings about unused functions if neither SLUB_DEBUG nor CONFIG_SLABINFO
is defined. This patch will be reversed when slab defrag is merged since slab
defrag requires count_partial() to determine the fragmentation status of
slab caches.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
mm/slub.c