linux-6.0-rc2 :

linux-6.0-rc2/tools/include/asm/../../arch/x86/include/asm/rmwcc.h:7:9: error: implicit declaration of function ‘asm_volatile_goto’ [-Werror=implicit-function-declaration]
7 | asm_volatile_goto (fullop "; j" cc " %l[cc_label]" \
| ^~~~~~~~~~~~~~~~~

需要何如patch:

https://lkml.org/lkml/2022/8/22/372

> Fixes: a0a12c3ed057 ("asm goto: eradicate CC_HAS_ASM_GOTO")
> Signed-off-by: Yang Jihong <yangjihong1@huawei.com>
> ---
> tools/include/linux/compiler_types.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/tools/include/linux/compiler_types.h b/tools/include/linux/compiler_types.h
> index 24ae3054f304..1bdd834bdd57 100644
> --- a/tools/include/linux/compiler_types.h
> +++ b/tools/include/linux/compiler_types.h
> @@ -36,4 +36,8 @@
> #include <linux/compiler-gcc.h>
> #endif
>
> +#ifndef asm_volatile_goto
> +#define asm_volatile_goto(x...) asm goto(x)
> +#endif

最新文章

  1. .NetCore中的日志(1)日志组件解析
  2. Django-跨站请求
  3. C++虚函数、虚继承、对象内存模型(转)
  4. Hadoop及其相关组件简介
  5. [转帖]DAS、NAS、SAN、iSCSI 存储方案概述
  6. Build Up Your Own Lightweight Workspace
  7. Codeforces GYM 100114 B. Island 水题
  8. 理解WebKit和Chromium: 调试Android系统上的Chromium
  9. 在SQL 中生成JSON数据
  10. JavaScript基础学习(五)&mdash;其他引用类型
  11. Shiro+easyUI+SpringMVC实现登录认证
  12. android studio 运行项目时waiting for target device to come online
  13. P2068 统计和(树状数组模板)
  14. [elk]elasticsearch dsl语句
  15. 伪造请求IP
  16. MySQL事物系列:1:事物简介
  17. iis 如何设置http访问转向https
  18. 【hdoj_1865】1sting(递推+大数)
  19. 20145313张雪纯 《Java程序设计》第2周学习总结
  20. 第9课:备份mysql数据库、重写父类、unittest框架、多线程

热门文章

  1. Android 分区和内存监控
  2. Spring注解补充(一)
  3. CF837G - Functions On The Segments
  4. 【译】.NET 7 中的性能改进(九)
  5. 在 Ubuntu 22 的基础上进行 Hadoop 伪分布式(HDFS)的搭建
  6. js获取input处理
  7. yile接口
  8. calendar.getActualMaximum(calendar.DAY_OF_MONTH)的陷阱,2月份最后一天成了3月3号
  9. kail 系统更新
  10. SpringBoot中常见问题