mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
[S390] Inline assembly cleanup.
Major cleanup of all s390 inline assemblies. They now have a common coding style. Quite a few have been shortened, mainly by using register asm variables. Use of the EX_TABLE macro helps as well. The atomic ops, bit ops and locking inlines new use the Q-constraint if a newer gcc is used. That results in slightly better code. Thanks to Christian Borntraeger for proof reading the changes. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
25d83cbfaa
commit
94c12cc7d1
51 changed files with 1758 additions and 2268 deletions
|
@ -544,10 +544,7 @@ sys32_execve(struct pt_regs regs)
|
|||
current->ptrace &= ~PT_DTRACE;
|
||||
task_unlock(current);
|
||||
current->thread.fp_regs.fpc=0;
|
||||
__asm__ __volatile__
|
||||
("sr 0,0\n\t"
|
||||
"sfpc 0,0\n\t"
|
||||
: : :"0");
|
||||
asm volatile("sfpc %0,0" : : "d" (0));
|
||||
}
|
||||
putname(filename);
|
||||
out:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue