David Brownell
c67334fbdf
Driver core: platform_driver_probe(), can save codespace
...
This defines a new platform_driver_probe() method allowing the driver's
probe() method, and its support code+data, to safely live in __init
sections for typical system configurations.
Many system-on-chip processors could benefit from this API, to the tune
of recovering hundreds to thousands of bytes per driver. That's memory
which is currently wasted holding code which can never be called after
system startup, yet can not be removed. It can't be removed because of
the linkage requirement that pointers to init section code (like, ideally,
probe support) must not live in other sections (like driver method tables)
after those pointers would be invalid.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-12-01 14:52:02 -08:00
..
acpi
ACPI: Change ACPI to use dev_archdata instead of firmware_data
2006-12-01 14:52:01 -08:00
asm-alpha
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-arm
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-arm26
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-avr32
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-cris
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-frv
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-generic
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-h8300
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-i386
ACPI: Change ACPI to use dev_archdata instead of firmware_data
2006-12-01 14:52:01 -08:00
asm-ia64
ACPI: Change ACPI to use dev_archdata instead of firmware_data
2006-12-01 14:52:01 -08:00
asm-m32r
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-m68k
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-m68knommu
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-mips
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-parisc
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-powerpc
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-ppc
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-s390
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-sh
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-sh64
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-sparc
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-sparc64
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-um
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-v850
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
asm-x86_64
ACPI: Change ACPI to use dev_archdata instead of firmware_data
2006-12-01 14:52:01 -08:00
asm-xtensa
Driver core: add dev_archdata to struct device
2006-12-01 14:52:01 -08:00
crypto
keys
linux
Driver core: platform_driver_probe(), can save codespace
2006-12-01 14:52:02 -08:00
math-emu
media
mtd
net
[NET]: Re-fix of doc-comment in sock.h
2006-11-25 15:16:51 -08:00
pcmcia
rdma
RDMA/addr: Use client registration to fix module unload race
2006-11-02 14:26:04 -08:00
rxrpc
scsi
[PATCH] add missing libsas include to fix s390 compilation.
2006-11-28 17:26:50 -08:00
sound
Driver core: convert sound core to use struct device
2006-12-01 14:52:01 -08:00
video
Kbuild