Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sparc/ml/fd_asm.s
          +++ new/usr/src/uts/sparc/ml/fd_asm.s
↓ open down ↓ 24 lines elided ↑ open up ↑
  25   25   */
  26   26  
  27   27  #ident  "%Z%%M% %I%     %E% SMI"
  28   28  
  29   29  /*
  30   30   * This file contains no entry points which can be called directly from
  31   31   * C and hence is of no interest to lint. However, we want to avoid the
  32   32   * dreaded "Empty translation unit"  warning.
  33   33   */
  34   34  
  35      -#if defined(lint)
  36      -#include <sys/types.h>
  37      -
  38      -/*ARGSUSED*/
  39      -u_int
  40      -fd_intr(caddr_t arg)
  41      -{
  42      -        return (0);
  43      -}
  44      -
  45      -#else   /* lint */
  46      -
  47   35  #include <sys/asm_linkage.h>
  48   36  #include <sys/fdreg.h>
  49   37  #include <sys/fdvar.h>
  50   38  #include "fd_assym.h"
  51   39  
  52   40  /*
  53   41   * Since this is part of a Sparc "generic" module, it may be loaded during
  54   42   * reconfigure time on systems that do not support the fast interrupt
  55   43   * handler.  On these machines the symbol "impl_setintreg_on" will be
  56   44   * undefined but we don't want to cause error messages when we load.
↓ open down ↓ 292 lines elided ↑ open up ↑
 349  337  
 350  338  .panic:
 351  339          ! invoke a kernel panic
 352  340          sethi   %hi(panic_msg), %o1
 353  341          ldn    [%o1 + %lo(panic_msg)], %o1
 354  342          mov     3, %o0
 355  343          call    cmn_err
 356  344          nop
 357  345  
 358  346  
 359      -#endif  /* lint */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX