linux/drivers/of
Jeremy Kerr 6098e2ee14 OF-device: Don't overwrite numa_node in device registration
Currently, the numa_node of OF-devices will be overwritten during
device_register, which simply sets the node to -1.  On cell machines,
this means that devices can't find their IOMMU, which is referenced
through the device's numa node.

Set the numa node for OF devices with no parent, and use the
lower-level device_initialize and device_add functions, so that the
node is preserved.

We can remove the call to set_dev_node in of_device_alloc, as it
will be overwritten during register.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-10-31 16:12:01 +11:00
..
base.c Merge commit 'gcl/gcl-next' 2008-10-14 10:11:27 +11:00
device.c OF-device: Don't overwrite numa_node in device registration 2008-10-31 16:12:01 +11:00
gpio.c
Kconfig
Makefile
of_i2c.c of: Format string bug in drivers/of/of_i2c.c 2008-10-21 15:17:49 +11:00
of_spi.c of/spi: Support specifying chip select as active high via device tree 2008-10-20 23:34:01 -05:00
platform.c