aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rxrpc/main.c')
-rw-r--r--net/rxrpc/main.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/net/rxrpc/main.c b/net/rxrpc/main.c
index 48cbd065bb45..baec1f7fd8b9 100644
--- a/net/rxrpc/main.c
+++ b/net/rxrpc/main.c
@@ -146,17 +146,17 @@ __attribute__((no_instrument_function));
146void __cyg_profile_func_enter (void *this_fn, void *call_site) 146void __cyg_profile_func_enter (void *this_fn, void *call_site)
147{ 147{
148 asm volatile(" movl %%esp,%%edi \n" 148 asm volatile(" movl %%esp,%%edi \n"
149 " andl %0,%%edi \n" 149 " andl %0,%%edi \n"
150 " addl %1,%%edi \n" 150 " addl %1,%%edi \n"
151 " movl %%esp,%%ecx \n" 151 " movl %%esp,%%ecx \n"
152 " subl %%edi,%%ecx \n" 152 " subl %%edi,%%ecx \n"
153 " shrl $2,%%ecx \n" 153 " shrl $2,%%ecx \n"
154 " movl $0xedededed,%%eax \n" 154 " movl $0xedededed,%%eax \n"
155 " rep stosl \n" 155 " rep stosl \n"
156 : 156 :
157 : "i"(~(THREAD_SIZE-1)), "i"(sizeof(struct thread_info)) 157 : "i"(~(THREAD_SIZE-1)), "i"(sizeof(struct thread_info))
158 : "eax", "ecx", "edi", "memory", "cc" 158 : "eax", "ecx", "edi", "memory", "cc"
159 ); 159 );
160} 160}
161 161
162void __cyg_profile_func_exit(void *this_fn, void *call_site) 162void __cyg_profile_func_exit(void *this_fn, void *call_site)
@@ -165,16 +165,16 @@ __attribute__((no_instrument_function));
165void __cyg_profile_func_exit(void *this_fn, void *call_site) 165void __cyg_profile_func_exit(void *this_fn, void *call_site)
166{ 166{
167 asm volatile(" movl %%esp,%%edi \n" 167 asm volatile(" movl %%esp,%%edi \n"
168 " andl %0,%%edi \n" 168 " andl %0,%%edi \n"
169 " addl %1,%%edi \n" 169 " addl %1,%%edi \n"
170 " movl %%esp,%%ecx \n" 170 " movl %%esp,%%ecx \n"
171 " subl %%edi,%%ecx \n" 171 " subl %%edi,%%ecx \n"
172 " shrl $2,%%ecx \n" 172 " shrl $2,%%ecx \n"
173 " movl $0xdadadada,%%eax \n" 173 " movl $0xdadadada,%%eax \n"
174 " rep stosl \n" 174 " rep stosl \n"
175 : 175 :
176 : "i"(~(THREAD_SIZE-1)), "i"(sizeof(struct thread_info)) 176 : "i"(~(THREAD_SIZE-1)), "i"(sizeof(struct thread_info))
177 : "eax", "ecx", "edi", "memory", "cc" 177 : "eax", "ecx", "edi", "memory", "cc"
178 ); 178 );
179} 179}
180#endif 180#endif