Geert Uytterhoeven wrote:
> On Sat, 6 Oct 2007 [EMAIL PROTECTED] wrote:
>> --- a/arch/powerpc/platforms/ps3/os-area.c
>> +++ b/arch/powerpc/platforms/ps3/os-area.c
>
>> +static int db_get_video_mode(const struct os_area_db *db,
>> + unsigned int *video_mode)
> ^^^^^^^^^^^^^^
>> +{
>> + return db_get_64(db, &os_area_db_id_video_mode, (uint64_t*)video_mode);
> ^^^^^^^^^^^
>> +}
>
> Woops, memory corruption, when writing a 64-bit value to a 32-bit variable.
Whoa! That routines is not even used, so I removed it.
-Geoff
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev