Clear r3 to zero after dealing with the pseudo-header.

This commit is contained in:
scw 2003-11-09 12:24:48 +00:00
parent 2f54b52eac
commit cd75387049
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: in_cksum.S,v 1.3 2002/10/22 12:22:43 scw Exp $ */
/* $NetBSD: in_cksum.S,v 1.4 2003/11/09 12:24:48 scw Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -316,6 +316,7 @@ ENTRY(in4_cksum)
ldhi.q r4, IP_SRC+7, r20 /* contiguous in memory */
or r19, r20, r19
ADDC (r19, r2, r2) /* sum += ip->ip_{src,dst} */
movi 0, r3
#endif /* INET */