projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
676155a
)
powerpc/vdso: Cleanup vdso.h
author
Christophe Leroy
<christophe.leroy@csgroup.eu>
Sun, 27 Sep 2020 09:16:48 +0000
(09:16 +0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:19 +0000
(
01:01
+1100)
Rename the guard define to _ASM_POWERPC_VDSO_H
And remove useless #ifdef __KERNEL__
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/9902590d410cd1c2afa48b83b277faf0711f07b2.1601197618.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/vdso.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/vdso.h
b/arch/powerpc/include/asm/vdso.h
index 2448419cb3e5b3b3ba7a2cb63900cff271a7e27e..8542e9bbeead30c388aa318d373d786e1c580b30 100644
(file)
--- a/
arch/powerpc/include/asm/vdso.h
+++ b/
arch/powerpc/include/asm/vdso.h
@@
-1,8
+1,6
@@
/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __PPC64_VDSO_H__
-#define __PPC64_VDSO_H__
-
-#ifdef __KERNEL__
+#ifndef _ASM_POWERPC_VDSO_H
+#define _ASM_POWERPC_VDSO_H
/* Default map addresses for 32bit vDSO */
#define VDSO32_MBASE 0x100000
@@
-54,6
+52,4
@@
int vdso_getcpu_init(void);
#endif /* __ASSEMBLY__ */
-#endif /* __KERNEL__ */
-
-#endif /* __PPC64_VDSO_H__ */
+#endif /* _ASM_POWERPC_VDSO_H */