mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 10:37:01 +07:00
7c0f6ba682
This was entirely automated, using the script by Al: PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*<asm/uaccess.h>' sed -i -e "s!$PATT!#include <linux/uaccess.h>!" \ $(git grep -l "$PATT"|grep -v ^include/linux/uaccess.h) to do the replacement at the end of the merge window. Requested-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
19 lines
284 B
C
19 lines
284 B
C
#include <linux/types.h>
|
|
#include <linux/errno.h>
|
|
#include <linux/uaccess.h>
|
|
|
|
#include <asm/sfp-machine.h>
|
|
#include <math-emu/soft-fp.h>
|
|
|
|
int
|
|
mffs(u32 *frD)
|
|
{
|
|
frD[1] = __FPU_FPSCR;
|
|
|
|
#ifdef DEBUG
|
|
printk("%s: frD %p: %08x.%08x\n", __func__, frD, frD[0], frD[1]);
|
|
#endif
|
|
|
|
return 0;
|
|
}
|