summaryrefslogtreecommitdiffstats
path: root/drivers/base/bus.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-05-13 17:56:56 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-05-13 17:56:56 +0900
commit06fe53beb636294587d8e94ef83c06cef07c21fd (patch)
treee8dda24a7c3b270ca11940dbedf8ac76fe595e47 /drivers/base/bus.c
parentbd05086bbe3f241cd552068f9ceba9e19c6ce427 (diff)
downloadlinux-stable-06fe53beb636294587d8e94ef83c06cef07c21fd.tar.gz
linux-stable-06fe53beb636294587d8e94ef83c06cef07c21fd.tar.bz2
linux-stable-06fe53beb636294587d8e94ef83c06cef07c21fd.zip
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>
Diffstat (limited to 'drivers/base/bus.c')
0 files changed, 0 insertions, 0 deletions