projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'io_uring-5.12-2021-03-05' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git]
/
lib
/
test_fpu.c
diff --git
a/lib/test_fpu.c
b/lib/test_fpu.c
index
c33764a
..
e82db19
100644
(file)
--- a/
lib/test_fpu.c
+++ b/
lib/test_fpu.c
@@
-63,7
+63,7
@@
static int test_fpu_get(void *data, u64 *val)
return status;
}
return status;
}
-DEFINE_
SIMPLE
_ATTRIBUTE(test_fpu_fops, test_fpu_get, NULL, "%lld\n");
+DEFINE_
DEBUGFS
_ATTRIBUTE(test_fpu_fops, test_fpu_get, NULL, "%lld\n");
static struct dentry *selftest_dir;
static int __init test_fpu_init(void)
static struct dentry *selftest_dir;
static int __init test_fpu_init(void)
@@
-72,8
+72,8
@@
static int __init test_fpu_init(void)
if (!selftest_dir)
return -ENOMEM;
if (!selftest_dir)
return -ENOMEM;
- debugfs_create_file("test_fpu", 0444, selftest_dir, NULL,
- &test_fpu_fops);
+ debugfs_create_file
_unsafe
("test_fpu", 0444, selftest_dir, NULL,
+
&test_fpu_fops);
return 0;
}
return 0;
}