File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 13
13
* for details.
14
14
*/
15
15
.macro vdso_func func
16
- .globl __kernel_\func
17
- .type __kernel_\func,@function
18
- __ALIGN
19
- __kernel_\func:
16
+ SYM_FUNC_START(__kernel_\func)
20
17
CFI_STARTPROC
21
18
aghi %r15 ,-STACK_FRAME_VDSO_OVERHEAD
22
19
CFI_DEF_CFA_OFFSET (STACK_FRAME_USER_OVERHEAD + STACK_FRAME_VDSO_OVERHEAD)
@@ -32,7 +29,7 @@ __kernel_\func:
32
29
CFI_RESTORE 15
33
30
br %r14
34
31
CFI_ENDPROC
35
- .size __kernel_\func,.-__kernel_\func
32
+ SYM_FUNC_END( __kernel_\func)
36
33
.endm
37
34
38
35
vdso_func gettimeofday
@@ -41,16 +38,13 @@ vdso_func clock_gettime
41
38
vdso_func getcpu
42
39
43
40
.macro vdso_syscall func,syscall
44
- .globl __kernel_\func
45
- .type __kernel_\func,@function
46
- __ALIGN
47
- __kernel_\func:
41
+ SYM_FUNC_START(__kernel_\func)
48
42
CFI_STARTPROC
49
43
svc \syscall
50
44
/* Make sure we notice when a syscall returns, which shouldn't happen */
51
45
.word 0
52
46
CFI_ENDPROC
53
- .size __kernel_\func,.-__kernel_\func
47
+ SYM_FUNC_END( __kernel_\func)
54
48
.endm
55
49
56
50
vdso_syscall restart_syscall,__NR_restart_syscall
You can’t perform that action at this time.
0 commit comments