Skip to contentSkip to conversation

riscv/vdso: Drop unneeded part due to merge issue

PATCH In review Kefeng Wang 2 participants 2 messages Oct 11, 2021 – Oct 26, 2021 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv/vdso: Drop unneeded part due to merge issue

It seems that something is wrong when patch "riscv/vdso:
Refactor asm/vdso.h" is mereged.

Let's fix the merge issue.

Fixes bb4a23c994ae ("riscv/vdso: Refactor asm/vdso.h")
---
 arch/riscv/include/asm/vdso.h | 11 -----------
 1 file changed, 11 deletions(-)
arch/riscv/include/asm/vdso.h +0 -11
index 208e31bc5d1c..3e295212d746 100644
@@ -8,14 +8,6 @@
 #ifndef _ASM_RISCV_VDSO_H
 #define _ASM_RISCV_VDSO_H
 
-
-/*
- * All systems with an MMU have a VDSO, but systems without an MMU don't
- * support shared libraries and therefor don't have one.
- */
-#ifdef CONFIG_MMU
-
-#include <linux/types.h>
 /*
  * All systems with an MMU have a VDSO, but systems without an MMU don't
  * support shared libraries and therefor don't have one.
@@ -29,9 +21,6 @@
 
 #define VDSO_SYMBOL(base, name)							\
 	(void __user *)((unsigned long)(base) + __vdso_##name##_offset)
-
-#endif /* CONFIG_MMU */
-
 #endif /* !__ASSEMBLY__ */
 
 #endif /* CONFIG_MMU */
Signature · 7 lines
2.26.2


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#1 lore raw
Quoted 31 lines · On Mon, 11 Oct 2021 04:05:59 PDT (-0700), [email protected] wrote:

It seems that something is wrong when patch "riscv/vdso:
Refactor asm/vdso.h" is mereged.

Let's fix the merge issue.

Fixes bb4a23c994ae ("riscv/vdso: Refactor asm/vdso.h")
---
 arch/riscv/include/asm/vdso.h | 11 -----------
 1 file changed, 11 deletions(-)
arch/riscv/include/asm/vdso.h +0 -8
index 208e31bc5d1c..3e295212d746 100644
@@ -8,14 +8,6 @@
 #ifndef _ASM_RISCV_VDSO_H
 #define _ASM_RISCV_VDSO_H
 
-
-/*
- * All systems with an MMU have a VDSO, but systems without an MMU don't
- * support shared libraries and therefor don't have one.
- */
-#ifdef CONFIG_MMU
-
-#include <linux/types.h>
 /*
  * All systems with an MMU have a VDSO, but systems without an MMU don't
  * support shared libraries and therefor don't have one.

arch/riscv/include/asm/vdso.h line 26

Quoted 9 lines
arch/riscv/include/asm/vdso.h +0 -3
@@ -29,9 +21,6 @@
 
 #define VDSO_SYMBOL(base, name)							\
 	(void __user *)((unsigned long)(base) + __vdso_##name##_offset)
-
-#endif /* CONFIG_MMU */
-
 #endif /* !__ASSEMBLY__ */
 
 #endif /* CONFIG_MMU */

Thanks, this is on for-next.

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv