xref: /haiku/src/system/kernel/vm/VMNullCache.cpp (revision 820dca4df6c7bf955c46e8f6521b9408f50b2900)
1 /*
2  * Copyright 2008-2011, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 
7 #include "VMNullCache.h"
8 
9 #include <slab/Slab.h>
10 
11 
12 status_t
13 VMNullCache::Init(uint32 allocationFlags)
14 {
15 	return VMCache::Init(CACHE_TYPE_NULL, allocationFlags);
16 }
17 
18 
19 void
20 VMNullCache::DeleteObject()
21 {
22 	object_cache_delete(gNullCacheObjectCache, this);
23 }
24 
25