Ignore:
Timestamp:
Aug 7, 2017, 11:22:15 AM (5 years ago)
Author:
max@…
Message:

Rename curcpu -> curtls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_irqmask.c

    r285 r336  
    2626inline void hal_disable_irq(reg_t *old)
    2727{
    28         tls_t *tls = curcpu();
     28        tls_t *tls = curtls();
    2929
    3030        *old = tls->tls_intr;
     
    3636inline void hal_enable_irq(reg_t *old)
    3737{
    38         tls_t *tls = curcpu();
     38        tls_t *tls = curtls();
    3939
    4040        *old = tls->tls_intr;
     
    4646inline void hal_restore_irq(reg_t old)
    4747{
    48         tls_t *tls = curcpu();
     48        tls_t *tls = curtls();
    4949
    5050        tls->tls_intr = old;
Note: See TracChangeset for help on using the changeset viewer.