Re: [PATCH 1/4] ide: <asm-sparc64/ide.h>: use %r0 for outw_be()

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

 



From: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
Date: Mon, 14 Jul 2008 17:38:25 +0200

> Use %r0 for outw_be() to make it match __raw_writew().
> 
> Cc: David S. Miller <davem@xxxxxxxxxxxxx>
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
> ---
> against ide tree
> 
> I'm a bit confused by this optimization but since __raw_write* use it...

This allows the compiler to use the "zero" register %g0
when storing a zero value.

Applied, thanks Bart.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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