/ 详情

21.03(5.10.0-4.2.0) 内核版本进行树莓派内核编译时报错 cpu_madt_gicc undeclared

Done
Task
Opened this issue  
2021-02-25 10:42

描述 树莓派内核编译未启用 CONFIG_ACPI,编译时报错信息:

arch/arm64/kernel/smp.c: In function ‘smp_prepare_cpus’:
arch/arm64/kernel/smp.c:955:9: error: ‘cpu_madt_gicc’ undeclared (first use in this function)
    if ((cpu_madt_gicc[cpu].flags & ACPI_MADT_ENABLED))
         ^
arch/arm64/kernel/smp.c:955:9: note: each undeclared identifier is reported only once for each function it appears in

openEuler 相关 commit e3bb851

Attachments

Comments (2)

woqidaideshi created任务
woqidaideshi set related repository to openEuler/kernel
展开全部操作日志

Hey woqidaideshi, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

已定位解决:
补丁arm64: mark all the GICC nodes in MADT as possible cpu引入问题,
修复补丁:arm64: fix compile error when CONFIG_ACPI is not enabled已合入

XieXiuQi changed issue state from 待办的 to 已完成

Sign in to comment

状态
Assignees
Labels
Projects
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(3)
5329419 openeuler ci bot 1578984659