kmem.h 432 Bytes
Newer Older
1
/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds's avatar
Linus Torvalds committed
2
/*
3 4
 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
 * All Rights Reserved.
Linus Torvalds's avatar
Linus Torvalds committed
5 6 7 8 9 10 11
 */
#ifndef __XFS_SUPPORT_KMEM_H__
#define __XFS_SUPPORT_KMEM_H__

#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/mm.h>
12
#include <linux/vmalloc.h>
Linus Torvalds's avatar
Linus Torvalds committed
13

14 15 16 17
/*
 * General memory allocation interfaces
 */

18 19 20 21
static inline void  kmem_free(const void *ptr)
{
	kvfree(ptr);
}
22

Linus Torvalds's avatar
Linus Torvalds committed
23
#endif /* __XFS_SUPPORT_KMEM_H__ */