repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vfs: Make __vfs_write() static
[linux/fpc-iii.git]
/
arch
/
powerpc
/
math-emu
/
fabs.c
blob
3b62fd70b77e7fd416c14694942287f3b7d7cfd4
1
// SPDX-License-Identifier: GPL-2.0
2
#include <linux/types.h>
3
#include <linux/errno.h>
4
#include <linux/uaccess.h>
5
6
int
7
fabs
(
u32
*
frD
,
u32
*
frB
)
8
{
9
frD
[
0
] =
frB
[
0
] &
0x7fffffff
;
10
frD
[
1
] =
frB
[
1
];
11
12
#ifdef DEBUG
13
printk
(
"%s: D %p, B %p: "
,
__func__
,
frD
,
frB
);
14
dump_double
(
frD
);
15
printk
(
"
\n
"
);
16
#endif
17
18
return
0
;
19
}