Re: [PATCH] sparc64: remove byteshifting from out* helpers

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

 



From: David Miller <davem@xxxxxxxxxxxxx>
Date: Thu, 23 Oct 2008 14:08:19 -0700 (PDT)

> From: Harvey Harrison <harvey.harrison@xxxxxxxxx>
> Date: Wed, 22 Oct 2008 11:50:24 -0700
> 
> > __raw_write avoids the need to byteswap twice, as we are reading from a
> > host-endian (big) area, just deref the pointers directly, taking care
> > of alignment.
> > 
> > As before, outsw must still be called with a 2-byte aligned pointer.
> > 
> > Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>
> 
> Applied, thanks Harvey.

Sorry, I had to revert this, it doesn't even build.

arch/sparc64/lib/PeeCeeI.c: In function ‘outsl’:
arch/sparc64/lib/PeeCeeI.c:57: error: expected expression before ‘u32’
arch/sparc64/lib/PeeCeeI.c:59: error: ‘l’ undeclared (first use in this function)
arch/sparc64/lib/PeeCeeI.c:59: error: (Each undeclared identifier is reported only once
arch/sparc64/lib/PeeCeeI.c:59: error: for each function it appears in.)
arch/sparc64/lib/PeeCeeI.c:63: error: ‘l2’ undeclared (first use in this function)
arch/sparc64/lib/PeeCeeI.c:72: error: expected expression before ‘u32’
make[1]: *** [arch/sparc64/lib/PeeCeeI.o] Error 1
��.n��������+%������w��{.n������ܖ)�����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux