Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset d5b9e8d in mainline


Ignore:
Timestamp:
2013-02-16T23:13:47Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
e05b956
Parents:
7be6379
Message:

tlb_shootdown_start/finalize() need to disable/restore interrupts on UP
just as they do on SMP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/mm/tlb.h

    r7be6379 rd5b9e8d  
    7373extern void tlb_shootdown_ipi_recv(void);
    7474#else
    75 #define tlb_shootdown_start(w, x, y, z) (0)
    76 #define tlb_shootdown_finalize(i)       ((i) = (i));
     75#define tlb_shootdown_start(w, x, y, z) interrupts_disable()   
     76#define tlb_shootdown_finalize(i)       (interrupts_restore(i));
    7777#define tlb_shootdown_ipi_recv()
    7878#endif /* CONFIG_SMP */
Note: See TracChangeset for help on using the changeset viewer.