mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
committed by
Christian Helmuth
parent
2a698ffd5f
commit
8982bc5843
@@ -78,12 +78,6 @@ bool flush_delayed_work(struct delayed_work *dwork)
|
||||
return false;
|
||||
}
|
||||
|
||||
void *krealloc(const void *, size_t, gfp_t)
|
||||
{
|
||||
TRACE_AND_STOP;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void down_read(struct rw_semaphore *sem)
|
||||
{
|
||||
TRACE_AND_STOP;
|
||||
|
||||
@@ -964,7 +964,7 @@ void yield(void)
|
||||
|
||||
int hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame)
|
||||
{
|
||||
TRACE_AND_STOP;
|
||||
TRACE;
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -976,7 +976,7 @@ int hdmi_vendor_infoframe_init(struct hdmi_vendor_infoframe *frame)
|
||||
|
||||
int hdmi_spd_infoframe_init(struct hdmi_spd_infoframe *frame, const char *vendor, const char *product)
|
||||
{
|
||||
TRACE_AND_STOP;
|
||||
TRACE;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
@@ -148,6 +148,12 @@ void *kmem_cache_zalloc(struct kmem_cache *k, gfp_t flags)
|
||||
return kmem_cache_alloc(k, flags | __GFP_ZERO);
|
||||
}
|
||||
|
||||
void *krealloc(const void *p, size_t size, gfp_t flags)
|
||||
{
|
||||
/* use const-less version from <impl/slab.h> */
|
||||
return krealloc(const_cast<void*>(p), size, flags);
|
||||
}
|
||||
|
||||
|
||||
/*****************
|
||||
** linux/idr.h **
|
||||
|
||||
Reference in New Issue
Block a user