[PATCH for 2.6.31] powerpc/ps3: Add missing check for PS3 to rtc-ps3 platform device registration

Geert Uytterhoeven Geert.Uytterhoeven at sonycom.com
Mon Aug 24 19:29:43 EST 2009


On Mon, 24 Aug 2009, Sachin Sant wrote:
> Geert Uytterhoeven wrote:
> > On non-PS3, we get:
> >
> > | kernel BUG at drivers/rtc/rtc-ps3.c:36!
> >
> > because the rtc-ps3 platform device is registered unconditionally in a
> > kernel
> > with builtin support for PS3.
> >
> > Reported-by: Sachin Sant <sachinp at in.ibm.com>
> > Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com>
> > ---
> >  arch/powerpc/platforms/ps3/time.c |    4 ++++
> >  1 files changed, 4 insertions(+), 0 deletions(-)
> Thanks, boots fine now.
> 
> Tested-by : Sachin Sant <sachinp at in.ibm.com>

Thanks for testing! We want this for 2.6.30-stable, too.

With kind regards,

Geert Uytterhoeven
Software Architect
Techsoft Centre

Technology and Software Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone:    +32 (0)2 700 8453
Fax:      +32 (0)2 700 8622
E-mail:   Geert.Uytterhoeven at sonycom.com
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010


More information about the Linuxppc-dev mailing list