Skip to content
Commit 64bafa9d authored by Jean-Christophe DUBOIS's avatar Jean-Christophe DUBOIS Committed by Arnd Bergmann
Browse files

[CELL] fix cbe_cpufreq 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: default avatarJean-Christophe DUBOIS <jcd@tribudubois.net>
Acked-by: default avatarChristian Kraff <krafft@de.ibm.com>
Signed-off-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
parent 74889e41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment