1 // SPDX-License-Identifier: GPL-2.0 << 2 #include <linux/types.h> 1 #include <linux/types.h> 3 #include <linux/errno.h> 2 #include <linux/errno.h> 4 #include <linux/uaccess.h> !! 3 #include <asm/uaccess.h> 5 4 6 int 5 int 7 fabs(u32 *frD, u32 *frB) 6 fabs(u32 *frD, u32 *frB) 8 { 7 { 9 frD[0] = frB[0] & 0x7fffffff; 8 frD[0] = frB[0] & 0x7fffffff; 10 frD[1] = frB[1]; 9 frD[1] = frB[1]; 11 10 12 #ifdef DEBUG 11 #ifdef DEBUG 13 printk("%s: D %p, B %p: ", __func__, f !! 12 printk("%s: D %p, B %p: ", __FUNCTION__, frD, frB); 14 dump_double(frD); 13 dump_double(frD); 15 printk("\n"); 14 printk("\n"); 16 #endif 15 #endif 17 16 18 return 0; 17 return 0; 19 } 18 } 20 19
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.