Commit 028c67cc authored by Hongchen Zhang's avatar Hongchen Zhang
Browse files

LoongArch: fix compile error when using make allmodconfig

LoongArch inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6LL93



----------------------------------------
1. when compiling at arm32 using make allmodconfig,error occurred
  caused by no including the required header file, so force to
  include the required file.
2. fix drivers/vfio/pci/vfio_pci_rdwr.c compile error on LoongArch

Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Signed-off-by: default avatarHongchen Zhang <zhanghongchen@loongson.cn>
parent d0198cbf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ static inline void __iomem *ioremap_prot(phys_addr_t offset, unsigned long size,
#define ioremap(offset, size)		\
	ioremap_prot((offset), (size), pgprot_val(PAGE_KERNEL_SUC))

#define iounmap(addr) 			do { } while (0)
#define iounmap(addr)	((void)(addr))

#endif

+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
 */

#include <linux/i2c.h>
#include <linux/io.h>

#include <drm/drm_print.h>
#include <drm/drm_device.h>