Print this page
5043 remove deprecated atomic functions' prototypes

Split Close
Expand all
Collapse all
          --- old/usr/src/common/atomic/sparcv9/atomic.s
          +++ new/usr/src/common/atomic/sparcv9/atomic.s
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32   * ATOMIC_BO_ENABLE_SHIFT can be selectively defined by processors
  33   33   * to enable exponential backoff. No definition means backoff is
  34   34   * not desired i.e. backoff should be disabled.
  35   35   * By default, the shift value is used to generate a power of 2
  36   36   * value for backoff limit. In the kernel, processors scale this
  37   37   * shift value with the number of online cpus.
  38   38   */
  39   39  
  40   40  #if defined(_KERNEL)
  41   41          /*
  42      -         * Legacy kernel interfaces; they will go away (eventually).
       42 +         * Legacy kernel interfaces; they will go away the moment our closed
       43 +         * bins no longer require them.
  43   44           */
  44   45          ANSI_PRAGMA_WEAK2(cas8,atomic_cas_8,function)
  45   46          ANSI_PRAGMA_WEAK2(cas32,atomic_cas_32,function)
  46   47          ANSI_PRAGMA_WEAK2(cas64,atomic_cas_64,function)
  47   48          ANSI_PRAGMA_WEAK2(caslong,atomic_cas_ulong,function)
  48   49          ANSI_PRAGMA_WEAK2(casptr,atomic_cas_ptr,function)
  49   50          ANSI_PRAGMA_WEAK2(atomic_and_long,atomic_and_ulong,function)
  50   51          ANSI_PRAGMA_WEAK2(atomic_or_long,atomic_or_ulong,function)
  51   52          ANSI_PRAGMA_WEAK2(swapl,atomic_swap_32,function)
  52   53  
↓ open down ↓ 887 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX