of: to support binding numa node to specified device in devicetree
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 25 Aug 2015 04:08:22 +0000 (12:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 05:11:50 +0000 (22:11 -0700)
commit56f2de81e020c537f7e35550d13840143cb765cd
tree7863e4bfe65656253a9f456bc704a1f4729c6a2c
parent6713e8fb541656d00249dca6627395b461c39ece
of: to support binding numa node to specified device in devicetree

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.leizhen@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c
drivers/of/device.c