[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: TEST: Sleep suppport for iBook G4 & Aluminium PowerBooks (ATI based)

On 19 Nov 2004 at 17h11, Benjamin Herrenschmidt wrote:


> http://gate.crashing.org/~benh/albook-ibookg4-sleep.diff

gcc spits a warning on arch/ppc/syslib/prom_init.c:708, where we have
        /* copy the holding pattern code to someplace safe (0) */
        /* the holding pattern is now within the first 0x100
           bytes of the kernel image -- paulus */
        memcpy((void *)0, _stext, 0x100);
        flush_icache_range(0, 0x100);

The comment looks like it is intentional, but that looks very strange
to me... How isn't it a problem ? (just for my personal curiosity :))


Reply to: