[PATCH 1/2] sandbox: add empty <asm/linkage.h>

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Oct 9 04:52:00 PDT 2023


Sandbox code including <linux/linkage.h> will trip over this file being
missing, so add an empty stub.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/sandbox/include/asm/linkage.h | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 arch/sandbox/include/asm/linkage.h

diff --git a/arch/sandbox/include/asm/linkage.h b/arch/sandbox/include/asm/linkage.h
new file mode 100644
index 000000000000..1d78d9169b6a
--- /dev/null
+++ b/arch/sandbox/include/asm/linkage.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef __ASM_LINKAGE_H
+#define __ASM_LINKAGE_H
+
+/* referenced by <linux/linkage.h> */
+
+#endif
-- 
2.39.2




More information about the barebox mailing list