lx_emul: remove sw_width/height from common_dummies

required by the new upcoming intel display driver. Make the step explicit,
because it needs adjustment on the new usb driver as well.

Issue #4450
This commit is contained in:
Alexander Boettcher 2022-03-15 09:40:50 +01:00 committed by Christian Helmuth
parent b6c1b7806b
commit cda0fafbd1
2 changed files with 16 additions and 14 deletions

View File

@ -7,6 +7,22 @@
#include <lx_emul.h>
#include <linux/bitops.h>
unsigned int __sw_hweight32(unsigned int w)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/bitops.h>
unsigned long __sw_hweight64(__u64 w)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/proc_fs.h>
void * PDE_DATA(const struct inode * inode)

View File

@ -22,20 +22,6 @@ char __end_rodata[] = {};
int __preempt_count = 0;
#include <linux/bitops.h>
unsigned int __sw_hweight32(__u32 w)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/bitops.h>
unsigned long __sw_hweight64(__u64 w)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/prandom.h>