pc_wifi: use '___ratelimit' dummy

The generated dummy triggers sometimes on base-foc.
This commit is contained in:
Josef Söntgen 2024-09-02 13:33:47 +02:00 committed by Christian Helmuth
parent e2dd009256
commit cc2b628d1c
2 changed files with 9 additions and 8 deletions

View File

@ -774,3 +774,12 @@ struct thermal_zone_device * thermal_zone_device_register_with_trips(const char
lx_emul_trace(__func__);
return ERR_PTR(-EINVAL);
}
#include <linux/ratelimit_types.h>
int ___ratelimit(struct ratelimit_state * rs,const char * func)
{
lx_emul_trace(__func__);
return 0;
}

View File

@ -7,14 +7,6 @@
#include <lx_emul.h>
#include <linux/ratelimit_types.h>
int ___ratelimit(struct ratelimit_state * rs,const char * func)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/cpumask.h>
struct cpumask __cpu_active_mask;