commit | c5785f9e1c1c07c791fdc471f5c7fda4a5855b0c | [log] [tgz] |
---|---|---|
author | Nathan Fontenot <nfont@austin.ibm.com> | Mon Mar 09 00:00:00 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Mar 24 13:43:52 2009 +1100 |
tree | 600677ecb2e0946ce0b440b3178d2090f222c0da | |
parent | 151a9f4aef53fb9cc1e192c7d321c1d820232f4a [diff] |
powerpc/pseries: Failed reconfig notifier chain call cleanup The return code from invoking the notifier chain when updating the ibm,dynamic-memory property is not handled properly. In failure cases (rc == NOTIFY_BAD) we should be restoring the original value of the property. In success (rc == NOTIFY_OK) we should be returning zero from the calling routine. Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>