diff options
author | Dave C Boutcher <sleddog@us.ibm.com> | 2006-01-12 23:08:27 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-13 11:02:50 +0100 |
commit | 088186ded490ced80758200cf8f906ed741df306 (patch) | |
tree | 0afbaac2b9843937c63da79dfbd91a60f606c00f /crypto | |
parent | [PATCH] powerpc: Add/remove/update properties in /proc/device-tree (diff) | |
download | linux-088186ded490ced80758200cf8f906ed741df306.tar.xz linux-088186ded490ced80758200cf8f906ed741df306.zip |
[PATCH] powerpc: Add/remove/update properties in firmware device tree
Add support for updating and removing device tree
properties. Since we hand out pointers to properties with gay
abandon, we can't just free the property storage. Instead we
move deleted, or the old copy of an updated property, to a
"dead properties" list.
Also note, its not feasable to kref device tree properties.
we call get_property() all over the kernel in a wild variety
of contexts.
One consequence of this change is that we now take a
read_lock(&devtree_lock) when doing get_property().
Signed-off-by: Dave Boutcher <sleddog@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions