Skip to contentSkip to conversation

ide: <asm-sparc64/ide.h>: use %r0 for outw_be()

PATCH David Miller 1 participant 4 messages Jul 21, 2008 4 messages not in the archive libata

lore
Share & tools
lore

David Miller

author Applied
#1 lore raw
In reply to a message not in the archive

From: Bartlomiej Zolnierkiewicz <[email protected]>
Date: Mon, 14 Jul 2008 17:38:25 +0200

Quoted 8 lines

Use %r0 for outw_be() to make it match __raw_writew().

---
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.