Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4/brand/common/brand_solaris.s
          +++ new/usr/src/uts/sun4/brand/common/brand_solaris.s
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24  
  25   25  /*
  26   26   * This is an assembly file that gets #include-ed into the brand-specific
  27   27   * assembly files (e.g. sn1_brand_asm.s) for Solaris-derived brands.
  28   28   * We can't make these into functions since in the trap context there's
  29   29   * no easy place to save the extra parameters that would be required, so
  30   30   * each brand module needs its own copy of this code.  We #include this and
  31   31   * use brand-specific #defines to replace the XXX_brand_... definitions.
  32   32   */ 
  33   33  
  34      -#ifdef lint
  35      -
  36      -#include <sys/systm.h>
  37      -
  38      -void
  39      -XXX_brand_syscall32_callback(void)
  40      -{
  41      -}
  42      -
  43      -void
  44      -XXX_brand_syscall_callback(void)
  45      -{
  46      -}
  47      -
  48      -#else   /* !lint */
  49      -
  50   34  #include <sys/asm_linkage.h>
  51   35  #include <sys/machthread.h>
  52   36  #include <sys/privregs.h>
  53   37  #include "assym.h"
  54   38  
  55   39  #ifdef _ASM     /* The remainder of this file is only for assembly files */
  56   40  
  57   41  #if defined(sun4v)
  58   42  
  59   43  #define GLOBALS_SWAP(reg)                               \
↓ open down ↓ 232 lines elided ↑ open up ↑
 292  276  #endif /* sun4v */
 293  277  
 294  278          ldn     [%g2 + CPU_TMP2], %l1;  /* restore locals */
 295  279          ldn     [%g2 + CPU_TMP1], %l0;
 296  280  
 297  281          jmp     %g1;
 298  282          nop;
 299  283  SET_SIZE(XXX_brand_syscall_callback_common)
 300  284  
 301  285  #endif  /* _ASM */
 302      -#endif  /* !lint */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX