Handle IRQs inside the kernel
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m42s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m42s
This commit is contained in:
@@ -223,7 +223,7 @@ void LZ4_free(void* p);
|
||||
# define FREEMEM(p) LZ4_free(p)
|
||||
#else
|
||||
//@@ # include <stdlib.h> /* malloc, calloc, free */
|
||||
#include <mm/liballoc.h>
|
||||
#include <mm/malloc.h>
|
||||
# define ALLOC(s) malloc(s)
|
||||
# define ALLOC_AND_ZERO(s) calloc(1,s)
|
||||
# define FREEMEM(p) free(p)
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
|
||||
#ifndef LZ4_SRC_INCLUDED /* avoid redefinition when sources are coalesced */
|
||||
//@@ # include <stdlib.h> /* malloc, calloc, free */
|
||||
#include <mm/liballoc.h>
|
||||
#include <mm/malloc.h>
|
||||
# define ALLOC(s) malloc(s)
|
||||
# define ALLOC_AND_ZERO(s) calloc(1,(s))
|
||||
# define FREEMEM(p) free(p)
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
/*! Modify the local functions below should you wish to use some other memory routines
|
||||
* for malloc(), free() */
|
||||
//@@ #include <stdlib.h>
|
||||
#include <mm/liballoc.h>
|
||||
#include <mm/malloc.h>
|
||||
static void* XXH_malloc (size_t s) { return malloc (s); }
|
||||
static void XXH_free (void* p) { free (p); }
|
||||
/*! and for memcpy() */
|
||||
|
||||
Reference in New Issue
Block a user