[PATCH 1/1] of: to support binding numa node to specified device in devicetree

2015-08-24 Thread Zhen Lei
For now, in function device_add, the new device will be forced to inherit the numa node of its parent. But this will override the device's numa node which configured in devicetree. Signed-off-by: Zhen Lei --- drivers/base/core.c | 2 +- drivers/of/device.c | 11 ++- 2 files changed, 7

[PATCH 1/1] of: to support binding numa node to specified device in devicetree

2015-08-24 Thread Zhen Lei
For now, in function device_add, the new device will be forced to inherit the numa node of its parent. But this will override the device's numa node which configured in devicetree. Signed-off-by: Zhen Lei thunder.leiz...@huawei.com --- drivers/base/core.c | 2 +- drivers/of/device.c | 11