Print this page
de-linting of .s files
*** 22,45 ****
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/param.h>
#include <sys/errno.h>
#include <sys/asm_linkage.h>
#include <sys/vtrace.h>
#include <sys/machthread.h>
#include <sys/machparam.h>
- #if defined(lint)
- #include <sys/types.h>
- #else /* lint */
#include "assym.h"
- #endif /* lint */
/*
* Prefetch considerations
*
* We prefetch one cacheline ahead. This may not be enough on Serengeti
--- 22,39 ----
*** 73,91 ****
*
* (from @(#)ocsum.s 1.3 89/02/24 SMI)
*
*/
- #if defined(lint)
-
- /* ARGSUSED */
- unsigned int
- ip_ocsum(u_short *address, int halfword_count, unsigned int sum)
- { return (0); }
-
- #else /* lint */
-
ENTRY(ip_ocsum)
/*
* On ttcp transmits, called once per ocsum_copyin but with a small
* block ( >99.9% ). Could be the tx hdrs? How many acks/seg are we rxing?
--- 67,76 ----
*** 459,464 ****
restore
SET_SIZE(ip_ocsum_long) ! 64-bit version
- #endif /* lint */
--- 444,448 ----