mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
We can't just plop asm/* into it - userland helpers are built with it in search path and seeing asm/* show up there suddenly would be a bad idea. Signed-off-by: Al Viro <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
20 lines
377 B
C
20 lines
377 B
C
/*
|
|
* Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso <[email protected]>
|
|
* Licensed under the GPL
|
|
*/
|
|
|
|
#ifndef __UM_MALLOC_H__
|
|
#define __UM_MALLOC_H__
|
|
|
|
#include "kern_constants.h"
|
|
|
|
extern void *uml_kmalloc(int size, int flags);
|
|
extern void kfree(const void *ptr);
|
|
|
|
extern void *vmalloc(unsigned long size);
|
|
extern void vfree(void *ptr);
|
|
|
|
#endif /* __UM_MALLOC_H__ */
|
|
|
|
|