]> git.baikalelectronics.ru Git - kernel.git/commit
MPILIB: disable usage of floating point registers on parisc
authorHelge Deller <deller@gmx.de>
Sun, 5 May 2013 22:08:22 +0000 (22:08 +0000)
committerHelge Deller <deller@gmx.de>
Fri, 24 May 2013 20:30:11 +0000 (22:30 +0200)
commit8202a1dc5ebe362f89d102b598532f19c342852e
tree9d6c403711e784ccca4a38761435424e44c27306
parent08421a756819ee0221efd429afb3284e6fbaa1d9
MPILIB: disable usage of floating point registers on parisc

The umul_ppmm() macro for parisc uses the xmpyu assembler statement
which does calculation via a floating point register.

But usage of floating point registers inside the Linux kernel are not
allowed and gcc will stop compilation due to the -mdisable-fpregs
compiler option.

Fix this by disabling the umul_ppmm() and udiv_qrnnd() macros. The
mpilib will then use the generic built-in implementations instead.

Signed-off-by: Helge Deller <deller@gmx.de>
lib/mpi/longlong.h