linux/arch/um/include/um_malloc.h
<<
>>
Prefs
   1/*
   2 * Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
   3 * Licensed under the GPL
   4 */
   5
   6#ifndef __UM_MALLOC_H__
   7#define __UM_MALLOC_H__
   8
   9#include "kern_constants.h"
  10
  11extern void *__kmalloc(int size, int flags);
  12static inline void *kmalloc(int size, int flags)
  13{
  14        return __kmalloc(size, flags);
  15}
  16
  17extern void kfree(const void *ptr);
  18
  19extern void *vmalloc(unsigned long size);
  20extern void vfree(void *ptr);
  21
  22#endif /* __UM_MALLOC_H__ */
  23