cvs commit: src/sys/sparc64/include in_cksum.h

Marius Strobl marius at FreeBSD.org
Thu Jan 12 03:40:40 PST 2006


marius      2006-01-12 11:40:39 UTC

  FreeBSD src repository

  Modified files:
    sys/sparc64/include  in_cksum.h 
  Log:
  - The inline asm in this file uses output operands before all input
    operands are consumed so use the appropriate constraint modifier.
    Before this change GCC used one register for both an input and an
    unrelated output operand of in_addword(), causing the input to be
    overwritten before it was consumed and thus breaking in_addword().
    For in_cksum_hdr() and in_pseudo() this change is more or less
    cosmetic.
  - Fix a misspelling in a nearby comment.
  
  Reported & tested by:   yongari
  MFC after:              1 week
  
  Revision  Changes    Path
  1.3       +5 -5      src/sys/sparc64/include/in_cksum.h


More information about the cvs-all mailing list