diff options
author | Jean-Christophe DUBOIS <jcd@tribudubois.net> | 2007-07-20 21:39:24 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-07-20 21:41:40 +0200 |
commit | 827e3648dc2c31e01db7cd2e4498061cf78a97a9 (patch) | |
tree | f34d99cd990b417b34754024ab28a4eba0abd3a5 /arch/sparc64/lib/strncpy_from_user.S | |
parent | 64bafa9db7e92d5a46402613188b71800924ca1f (diff) |
[CELL] fix cbe_thermal for legacy SLOF tree.
Previous patch changed based on Christian Krafft's comment.
On some legacy SLOF tree the generic code is unable to ioremap some Cell BE
registers. Therefore the "generic" functions are returning a NULL pointer,
triggering a crash on such platforms.
Let's handle this more gracefully.
Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Acked-by: Christian Kraff <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'arch/sparc64/lib/strncpy_from_user.S')
0 files changed, 0 insertions, 0 deletions