diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig.debug | 2 | ||||
| -rw-r--r-- | lib/earlycpio.c | 2 | ||||
| -rw-r--r-- | lib/percpu_counter.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 98ac17ed6222..1501aa553221 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -238,7 +238,7 @@ config DEBUG_SECTION_MISMATCH | |||
| 238 | any use of code/data previously in these sections would | 238 | any use of code/data previously in these sections would |
| 239 | most likely result in an oops. | 239 | most likely result in an oops. |
| 240 | In the code, functions and variables are annotated with | 240 | In the code, functions and variables are annotated with |
| 241 | __init, __cpuinit, etc. (see the full list in include/linux/init.h), | 241 | __init,, etc. (see the full list in include/linux/init.h), |
| 242 | which results in the code/data being placed in specific sections. | 242 | which results in the code/data being placed in specific sections. |
| 243 | The section mismatch analysis is always performed after a full | 243 | The section mismatch analysis is always performed after a full |
| 244 | kernel build, and enabling this option causes the following | 244 | kernel build, and enabling this option causes the following |
diff --git a/lib/earlycpio.c b/lib/earlycpio.c index 8078ef49cb79..7aa7ce250c94 100644 --- a/lib/earlycpio.c +++ b/lib/earlycpio.c | |||
| @@ -63,7 +63,7 @@ enum cpio_fields { | |||
| 63 | * the match returned an empty filename string. | 63 | * the match returned an empty filename string. |
| 64 | */ | 64 | */ |
| 65 | 65 | ||
| 66 | struct cpio_data __cpuinit find_cpio_data(const char *path, void *data, | 66 | struct cpio_data find_cpio_data(const char *path, void *data, |
| 67 | size_t len, long *offset) | 67 | size_t len, long *offset) |
| 68 | { | 68 | { |
| 69 | const size_t cpio_header_len = 8*C_NFIELDS - 2; | 69 | const size_t cpio_header_len = 8*C_NFIELDS - 2; |
diff --git a/lib/percpu_counter.c b/lib/percpu_counter.c index 1fc23a3277e1..93c5d5ecff4e 100644 --- a/lib/percpu_counter.c +++ b/lib/percpu_counter.c | |||
| @@ -158,7 +158,7 @@ static void compute_batch_value(void) | |||
| 158 | percpu_counter_batch = max(32, nr*2); | 158 | percpu_counter_batch = max(32, nr*2); |
| 159 | } | 159 | } |
| 160 | 160 | ||
| 161 | static int __cpuinit percpu_counter_hotcpu_callback(struct notifier_block *nb, | 161 | static int percpu_counter_hotcpu_callback(struct notifier_block *nb, |
| 162 | unsigned long action, void *hcpu) | 162 | unsigned long action, void *hcpu) |
| 163 | { | 163 | { |
| 164 | #ifdef CONFIG_HOTPLUG_CPU | 164 | #ifdef CONFIG_HOTPLUG_CPU |
