kernel-hacking-2024-linux-s.../drivers/base
Paul Mundt 06fe53beb6 driver core: Early dev_name() depends on slab_is_available().
The early dev_name() setup needs to do an allocation which can only be
satisfied under slab_is_available() conditions. Some of the early
platform drivers may be initialized before this point, and those still
need to contend themselves with an empty dev_name.

This fixes up a regression with the SH earlyprintk which was bailing out
prior to hitting the early probe path due to not being able to satisfy
the early allocation. Other early platform drivers (such as the early
timers) that need to match the dev name are sufficiently late that
allocations are already possible.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-05-13 17:56:56 +09:00
..
power Driver core: create lock/unlock functions for struct device 2010-03-07 17:04:52 -08:00
attribute_container.c
base.h Driver Core: devtmpfs - kernel-maintained tmpfs-based /dev 2009-09-15 09:50:49 -07:00
bus.c Driver core: create lock/unlock functions for struct device 2010-03-07 17:04:52 -08:00
class.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
core.c driver core: Use sysfs_rename_link in device_rename 2010-03-07 17:04:52 -08:00
cpu.c sysdev: fix up the probe/release attributes 2010-03-07 17:04:49 -08:00
dd.c Driver core: create lock/unlock functions for struct device 2010-03-07 17:04:52 -08:00
devres.c devres: WARN() and return, don't crash on device_del() of uninitialized device 2009-07-12 13:02:09 -07:00
devtmpfs.c Driver-Core: devtmpfs - reset inode permissions before unlinking 2010-03-07 17:04:48 -08:00
dma-coherent.c driver-core: move dma-coherent.c from kernel to driver/base 2009-09-15 09:50:47 -07:00
dma-mapping.c
driver.c Driver core: driver_attribute parameters can often be const* 2009-12-23 11:23:43 -08:00
firmware.c
firmware_class.c Driver core: Fix first line of kernel-doc for a few functions 2010-03-07 17:04:51 -08:00
hypervisor.c
init.c Driver Core: devtmpfs - kernel-maintained tmpfs-based /dev 2009-09-15 09:50:49 -07:00
iommu.c
isa.c
Kconfig Driver-Core: disable /sbin/hotplug by default 2010-03-07 17:04:48 -08:00
Makefile Driver Core: devtmpfs - kernel-maintained tmpfs-based /dev 2009-09-15 09:50:49 -07:00
map.c
memory.c kobject: Constify struct kset_uevent_ops 2010-03-07 17:04:49 -08:00
module.c
node.c sysdev: Use sysdev_class attribute arrays in node driver 2010-03-07 17:04:47 -08:00
platform.c driver core: Early dev_name() depends on slab_is_available(). 2010-05-13 17:56:56 +09:00
sys.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
topology.c
transport_class.c