summaryrefslogtreecommitdiffstats
path: root/core/test/Makefile.check
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-12-22 14:16:10 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-01-05 15:27:43 +1100
commit8594b9c5bd456205255ea2241ba224f47480efad (patch)
treed0d6953e0ffe8fbc3e9c8661f813098b5801845c /core/test/Makefile.check
parent40689fadbc0de48d565cf635cd8ab7fc14c1519f (diff)
downloadblackbird-skiboot-8594b9c5bd456205255ea2241ba224f47480efad.tar.gz
blackbird-skiboot-8594b9c5bd456205255ea2241ba224f47480efad.zip
buddy: Add a simple generic buddy allocator
It operates on bits representing whatever objects the caller wants it to represent, it's not per-se a memory allocator (it's meant to be used among others by XIVE for VP allocations). As such it cannot keep linked lists of free objects, so don't expect stellar perfs. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> [stewart@linux.vnet.ibm.com: add (C) header, fix gcc4.8 build error] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/test/Makefile.check')
-rw-r--r--core/test/Makefile.check3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/test/Makefile.check b/core/test/Makefile.check
index 869eafc0..35540504 100644
--- a/core/test/Makefile.check
+++ b/core/test/Makefile.check
@@ -18,7 +18,8 @@ CORE_TEST := \
core/test/run-pool \
core/test/run-time-utils \
core/test/run-timebase \
- core/test/run-timer
+ core/test/run-timer \
+ core/test/run-buddy
HOSTCFLAGS+=-I . -I include
OpenPOWER on IntegriCloud