summaryrefslogtreecommitdiffstats
path: root/tools/testing/memblock/lib/slab.c
blob: 6be6020328fbdf89980058be6b27a94ea5814703 (plain)
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: GPL-2.0
#include <linux/slab.h>

enum slab_state slab_state;

bool slab_is_available(void)
{
	return slab_state >= UP;
}