Skip to content
Commit 092e9ebe authored by Huacai Chen's avatar Huacai Chen
Browse files

LoongArch: Cleanup headers to avoid circular dependency



When enable GENERIC_IOREMAP, there will be circular dependency to cause
build errors. The root cause is that pgtable.h shouldn't include io.h
but pgtable.h need some macros defined in io.h. So cleanup those macros
and remove the unnecessary inclusions, as other architectures do.

Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent da48b67c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment