Skip to content

Commit fc76a25

Browse files
committed
Merge tag 'driver-core-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core updates from Greg KH: "Here's the big driver core merge for 3.11-rc1 Lots of little things, and larger firmware subsystem updates, all described in the shortlog. Nice thing here is that we finally get rid of CONFIG_HOTPLUG, after 10+ years, thanks to Stephen Rohtwell (it had been always on for a number of kernel releases, now it's just removed)" * tag 'driver-core-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (27 commits) driver core: device.h: fix doc compilation warnings firmware loader: fix another compile warning with PM_SLEEP unset build some drivers only when compile-testing firmware loader: fix compile warning with PM_SLEEP set kobject: sanitize argument for format string sysfs_notify is only possible on file attributes firmware loader: simplify holding module for request_firmware firmware loader: don't export cache_firmware and uncache_firmware drivers/base: Use attribute groups to create sysfs memory files firmware loader: fix compile warning firmware loader: fix build failure with !CONFIG_FW_LOADER_USER_HELPER Documentation: Updated broken link in HOWTO Finally eradicate CONFIG_HOTPLUG driver core: firmware loader: kill FW_ACTION_NOHOTPLUG requests before suspend driver core: firmware loader: don't cache FW_ACTION_NOHOTPLUG firmware Documentation: Tidy up some drivers/base/core.c kerneldoc content. platform_device: use a macro instead of platform_driver_register firmware: move EXPORT_SYMBOL annotations firmware: Avoid deadlock of usermodehelper lock at shutdown dell_rbu: Select CONFIG_FW_LOADER_USER_HELPER explicitly ...
2 parents fe3c22b + bfd63cd commit fc76a25

53 files changed

Lines changed: 316 additions & 265 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/ABI/testing/sysfs-bus-pci‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ Description:
6464
Writing a non-zero value to this attribute will
6565
force a rescan of all PCI buses in the system, and
6666
re-discover previously removed devices.
67-
Depends on CONFIG_HOTPLUG.
6867

6968
What: /sys/bus/pci/devices/.../msi_irqs/
7069
Date: September, 2011
@@ -90,7 +89,6 @@ Contact: Linux PCI developers <linux-pci@vger.kernel.org>
9089
Description:
9190
Writing a non-zero value to this attribute will
9291
hot-remove the PCI device and any of its children.
93-
Depends on CONFIG_HOTPLUG.
9492

9593
What: /sys/bus/pci/devices/.../pci_bus/.../rescan
9694
Date: May 2011
@@ -99,7 +97,7 @@ Description:
9997
Writing a non-zero value to this attribute will
10098
force a rescan of the bus and all child buses,
10199
and re-discover devices removed earlier from this
102-
part of the device tree. Depends on CONFIG_HOTPLUG.
100+
part of the device tree.
103101

104102
What: /sys/bus/pci/devices/.../rescan
105103
Date: January 2009
@@ -109,7 +107,6 @@ Description:
109107
force a rescan of the device's parent bus and all
110108
child buses, and re-discover devices removed earlier
111109
from this part of the device tree.
112-
Depends on CONFIG_HOTPLUG.
113110

114111
What: /sys/bus/pci/devices/.../reset
115112
Date: July 2009

‎Documentation/HOWTO‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ required reading:
112112

113113
Other excellent descriptions of how to create patches properly are:
114114
"The Perfect Patch"
115-
http://userweb.kernel.org/~akpm/stuff/tpp.txt
115+
http://kerneltrap.org/node/3737
116116
"Linux kernel patch submission format"
117117
http://linux.yyz.us/patch-format.html
118118

‎Documentation/SubmitChecklist‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,5 @@ kernel patches.
105105
same time, just various/random combinations of them]:
106106

107107
CONFIG_SMP, CONFIG_SYSFS, CONFIG_PROC_FS, CONFIG_INPUT, CONFIG_PCI,
108-
CONFIG_BLOCK, CONFIG_PM, CONFIG_HOTPLUG, CONFIG_MAGIC_SYSRQ,
108+
CONFIG_BLOCK, CONFIG_PM, CONFIG_MAGIC_SYSRQ,
109109
CONFIG_NET, CONFIG_INET=n (but latter with CONFIG_NET=y)

‎Documentation/cpu-hotplug.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ A: When doing make defconfig, Enable CPU hotplug support
128128

129129
"Processor type and Features" -> Support for Hotpluggable CPUs
130130

131-
Make sure that you have CONFIG_HOTPLUG, and CONFIG_SMP turned on as well.
131+
Make sure that you have CONFIG_SMP turned on as well.
132132

133133
You would need to enable CONFIG_HOTPLUG_CPU for SMP suspend/resume support
134134
as well.

‎Documentation/hwmon/submitting-patches‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ increase the chances of your change being accepted.
2727
explicitly below the patch header.
2828

2929
* If your patch (or the driver) is affected by configuration options such as
30-
CONFIG_SMP or CONFIG_HOTPLUG, make sure it compiles for all configuration
31-
variants.
30+
CONFIG_SMP, make sure it compiles for all configuration variants.
3231

3332

3433
2. Adding functionality to existing drivers

‎Documentation/kbuild/kconfig.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Searching in menuconfig:
165165
Example:
166166
/hotplug
167167
This lists all config symbols that contain "hotplug",
168-
e.g., HOTPLUG, HOTPLUG_CPU, MEMORY_HOTPLUG.
168+
e.g., HOTPLUG_CPU, MEMORY_HOTPLUG.
169169

170170
For search help, enter / followed TAB-TAB-TAB (to highlight
171171
<Help>) and Enter. This will tell you that you can also use

‎Documentation/usb/hotplug.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ you get the best hotplugging when you configure a highly modular system.
3333

3434
KERNEL HOTPLUG HELPER (/sbin/hotplug)
3535

36-
When you compile with CONFIG_HOTPLUG, you get a new kernel parameter:
37-
/proc/sys/kernel/hotplug, which normally holds the pathname "/sbin/hotplug".
38-
That parameter names a program which the kernel may invoke at various times.
36+
There is a kernel parameter: /proc/sys/kernel/hotplug, which normally
37+
holds the pathname "/sbin/hotplug". That parameter names a program
38+
which the kernel may invoke at various times.
3939

4040
The /sbin/hotplug program can be invoked by any subsystem as part of its
4141
reaction to a configuration change, from a thread in that subsystem.

‎arch/arm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,7 @@ config NR_CPUS
15521552

15531553
config HOTPLUG_CPU
15541554
bool "Support for hot-pluggable CPUs"
1555-
depends on SMP && HOTPLUG
1555+
depends on SMP
15561556
help
15571557
Say Y here to experiment with turning CPUs off and on. CPUs
15581558
can be controlled through /sys/devices/system/cpu.

‎arch/arm/kernel/module.c‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -288,24 +288,16 @@ int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs,
288288

289289
if (strcmp(".ARM.exidx.init.text", secname) == 0)
290290
maps[ARM_SEC_INIT].unw_sec = s;
291-
else if (strcmp(".ARM.exidx.devinit.text", secname) == 0)
292-
maps[ARM_SEC_DEVINIT].unw_sec = s;
293291
else if (strcmp(".ARM.exidx", secname) == 0)
294292
maps[ARM_SEC_CORE].unw_sec = s;
295293
else if (strcmp(".ARM.exidx.exit.text", secname) == 0)
296294
maps[ARM_SEC_EXIT].unw_sec = s;
297-
else if (strcmp(".ARM.exidx.devexit.text", secname) == 0)
298-
maps[ARM_SEC_DEVEXIT].unw_sec = s;
299295
else if (strcmp(".init.text", secname) == 0)
300296
maps[ARM_SEC_INIT].txt_sec = s;
301-
else if (strcmp(".devinit.text", secname) == 0)
302-
maps[ARM_SEC_DEVINIT].txt_sec = s;
303297
else if (strcmp(".text", secname) == 0)
304298
maps[ARM_SEC_CORE].txt_sec = s;
305299
else if (strcmp(".exit.text", secname) == 0)
306300
maps[ARM_SEC_EXIT].txt_sec = s;
307-
else if (strcmp(".devexit.text", secname) == 0)
308-
maps[ARM_SEC_DEVEXIT].txt_sec = s;
309301
}
310302

311303
for (i = 0; i < ARM_SEC_MAX; i++)

‎arch/arm/kernel/vmlinux.lds.S‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ SECTIONS
7070
ARM_EXIT_DISCARD(EXIT_TEXT)
7171
ARM_EXIT_DISCARD(EXIT_DATA)
7272
EXIT_CALL
73-
#ifndef CONFIG_HOTPLUG
74-
*(.ARM.exidx.devexit.text)
75-
*(.ARM.extab.devexit.text)
76-
#endif
7773
#ifndef CONFIG_MMU
7874
*(.fixup)
7975
*(__ex_table)

0 commit comments

Comments
 (0)