Last one. Remove redundant (and empty) struct and make some asm constraints

more correct.

svn path=/trunk/; revision=21157
This commit is contained in:
Art Yerkes 2006-02-19 10:02:38 +00:00
parent 16e3d0db53
commit 56b518d933

View file

@ -30,10 +30,6 @@
#ifndef __ASM__
typedef struct _KTRAP_FRAME
{
} KTRAP_FRAME, *PKTRAP_FRAME;
typedef struct _KIRQ_TRAPFRAME
{
} KIRQ_TRAPFRAME, *PKIRQ_TRAPFRAME;
@ -82,7 +78,7 @@ static inline LONG KePPCTestAndClearBit(ULONG BitPos, volatile PULONG Addr)
"success:\n\t"
"isync\n\t"
: "=r" (NewValue), "=r" (OldValue)
: "=w" (NewValue), "=w" (*Addr)
: "w" (NewValue), "w" (*Addr)
: "memory");
return NewValue & (1 << BitPos);
@ -105,7 +101,7 @@ static inline LONG KePPCTestAndSetBit(ULONG BitPos, volatile PULONG Addr)
"success:\n\t"
"isync\n\t"
: "=r" (NewValue), "=r" (OldValue)
: "=w" (NewValue), "=w" (*Addr)
: "w" (NewValue), "w" (*Addr)
: "memory");
return NewValue & (1 << BitPos);