OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'arm-soc-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[uclinux-h8/linux.git]
/
kernel
/
module_decompress.c
diff --git
a/kernel/module_decompress.c
b/kernel/module_decompress.c
index
b01c69c
..
ffef98a
100644
(file)
--- a/
kernel/module_decompress.c
+++ b/
kernel/module_decompress.c
@@
-250,6
+250,7
@@
void module_decompress_cleanup(struct load_info *info)
info->max_pages = info->used_pages = 0;
}
+#ifdef CONFIG_SYSFS
static ssize_t compression_show(struct kobject *kobj,
struct kobj_attribute *attr, char *buf)
{
@@
-269,3
+270,4
@@
static int __init module_decompress_sysfs_init(void)
return 0;
}
late_initcall(module_decompress_sysfs_init);
+#endif