mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-29 05:34:23 +00:00
parent
2a698ffd5f
commit
8982bc5843
@ -78,12 +78,6 @@ bool flush_delayed_work(struct delayed_work *dwork)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void *krealloc(const void *, size_t, gfp_t)
|
|
||||||
{
|
|
||||||
TRACE_AND_STOP;
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
void down_read(struct rw_semaphore *sem)
|
void down_read(struct rw_semaphore *sem)
|
||||||
{
|
{
|
||||||
TRACE_AND_STOP;
|
TRACE_AND_STOP;
|
||||||
|
@ -964,7 +964,7 @@ void yield(void)
|
|||||||
|
|
||||||
int hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame)
|
int hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame)
|
||||||
{
|
{
|
||||||
TRACE_AND_STOP;
|
TRACE;
|
||||||
return -1;
|
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)
|
int hdmi_spd_infoframe_init(struct hdmi_spd_infoframe *frame, const char *vendor, const char *product)
|
||||||
{
|
{
|
||||||
TRACE_AND_STOP;
|
TRACE;
|
||||||
return -1;
|
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);
|
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 **
|
** linux/idr.h **
|
||||||
|
Loading…
x
Reference in New Issue
Block a user