diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-13 21:54:50 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-13 21:54:50 -0400 |
| commit | dfe2c6dcc8ca2cdc662d7c0473e9811b72ef3370 (patch) | |
| tree | 9ed639a08c16322cdf136d576f42df5b97cd1549 /kernel/params.c | |
| parent | a45d572841a24db02a62cf05e1157c35fdd3705b (diff) | |
| parent | 64e455079e1bd7787cc47be30b7f601ce682a5f6 (diff) | |
Merge branch 'akpm' (patches from Andrew Morton)
Merge second patch-bomb from Andrew Morton:
- a few hotfixes
- drivers/dma updates
- MAINTAINERS updates
- Quite a lot of lib/ updates
- checkpatch updates
- binfmt updates
- autofs4
- drivers/rtc/
- various small tweaks to less used filesystems
- ipc/ updates
- kernel/watchdog.c changes
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (135 commits)
mm: softdirty: enable write notifications on VMAs after VM_SOFTDIRTY cleared
kernel/param: consolidate __{start,stop}___param[] in <linux/moduleparam.h>
ia64: remove duplicate declarations of __per_cpu_start[] and __per_cpu_end[]
frv: remove unused declarations of __start___ex_table and __stop___ex_table
kvm: ensure hard lockup detection is disabled by default
kernel/watchdog.c: control hard lockup detection default
staging: rtl8192u: use %*pEn to escape buffer
staging: rtl8192e: use %*pEn to escape buffer
staging: wlan-ng: use %*pEhp to print SN
lib80211: remove unused print_ssid()
wireless: hostap: proc: print properly escaped SSID
wireless: ipw2x00: print SSID via %*pE
wireless: libertas: print esaped string via %*pE
lib/vsprintf: add %*pE[achnops] format specifier
lib / string_helpers: introduce string_escape_mem()
lib / string_helpers: refactoring the test suite
lib / string_helpers: move documentation to c-file
include/linux: remove strict_strto* definitions
arch/x86/mm/numa.c: fix boot failure when all nodes are hotpluggable
fs: check bh blocknr earlier when searching lru
...
Diffstat (limited to 'kernel/params.c')
| -rw-r--r-- | kernel/params.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/params.c b/kernel/params.c index 041b5899d5e2..db97b791390f 100644 --- a/kernel/params.c +++ b/kernel/params.c | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | #include <linux/string.h> | 19 | #include <linux/string.h> |
| 20 | #include <linux/errno.h> | 20 | #include <linux/errno.h> |
| 21 | #include <linux/module.h> | 21 | #include <linux/module.h> |
| 22 | #include <linux/moduleparam.h> | ||
| 22 | #include <linux/device.h> | 23 | #include <linux/device.h> |
| 23 | #include <linux/err.h> | 24 | #include <linux/err.h> |
| 24 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
| @@ -513,8 +514,6 @@ EXPORT_SYMBOL(param_ops_string); | |||
| 513 | #define to_module_attr(n) container_of(n, struct module_attribute, attr) | 514 | #define to_module_attr(n) container_of(n, struct module_attribute, attr) |
| 514 | #define to_module_kobject(n) container_of(n, struct module_kobject, kobj) | 515 | #define to_module_kobject(n) container_of(n, struct module_kobject, kobj) |
| 515 | 516 | ||
| 516 | extern struct kernel_param __start___param[], __stop___param[]; | ||
| 517 | |||
| 518 | struct param_attribute | 517 | struct param_attribute |
| 519 | { | 518 | { |
| 520 | struct module_attribute mattr; | 519 | struct module_attribute mattr; |
| @@ -774,7 +773,7 @@ static struct module_kobject * __init locate_module_kobject(const char *name) | |||
| 774 | } | 773 | } |
| 775 | 774 | ||
| 776 | static void __init kernel_add_sysfs_param(const char *name, | 775 | static void __init kernel_add_sysfs_param(const char *name, |
| 777 | struct kernel_param *kparam, | 776 | const struct kernel_param *kparam, |
| 778 | unsigned int name_skip) | 777 | unsigned int name_skip) |
| 779 | { | 778 | { |
| 780 | struct module_kobject *mk; | 779 | struct module_kobject *mk; |
| @@ -809,7 +808,7 @@ static void __init kernel_add_sysfs_param(const char *name, | |||
| 809 | */ | 808 | */ |
| 810 | static void __init param_sysfs_builtin(void) | 809 | static void __init param_sysfs_builtin(void) |
| 811 | { | 810 | { |
| 812 | struct kernel_param *kp; | 811 | const struct kernel_param *kp; |
| 813 | unsigned int name_len; | 812 | unsigned int name_len; |
| 814 | char modname[MODULE_NAME_LEN]; | 813 | char modname[MODULE_NAME_LEN]; |
| 815 | 814 | ||
