| .. | .. |
|---|
| 36 | 36 | |
|---|
| 37 | 37 | #include <asm/io.h> |
|---|
| 38 | 38 | #include <asm/irq.h> |
|---|
| 39 | | -#include <asm/pgtable.h> |
|---|
| 40 | | -#include <asm/pgalloc.h> |
|---|
| 41 | 39 | #include <asm/mmu_context.h> |
|---|
| 42 | 40 | #include <asm/tlbflush.h> |
|---|
| 43 | 41 | |
|---|
| .. | .. |
|---|
| 168 | 166 | DBGS(("smp_callin: commencing CPU %d current %p active_mm %p\n", |
|---|
| 169 | 167 | cpuid, current, current->active_mm)); |
|---|
| 170 | 168 | |
|---|
| 171 | | - preempt_disable(); |
|---|
| 172 | 169 | cpu_startup_entry(CPUHP_AP_ONLINE_IDLE); |
|---|
| 173 | 170 | } |
|---|
| 174 | 171 | |
|---|
| .. | .. |
|---|
| 614 | 611 | smp_imb(void) |
|---|
| 615 | 612 | { |
|---|
| 616 | 613 | /* Must wait other processors to flush their icache before continue. */ |
|---|
| 617 | | - if (on_each_cpu(ipi_imb, NULL, 1)) |
|---|
| 618 | | - printk(KERN_CRIT "smp_imb: timed out\n"); |
|---|
| 614 | + on_each_cpu(ipi_imb, NULL, 1); |
|---|
| 619 | 615 | } |
|---|
| 620 | 616 | EXPORT_SYMBOL(smp_imb); |
|---|
| 621 | 617 | |
|---|
| .. | .. |
|---|
| 630 | 626 | { |
|---|
| 631 | 627 | /* Although we don't have any data to pass, we do want to |
|---|
| 632 | 628 | synchronize with the other processors. */ |
|---|
| 633 | | - if (on_each_cpu(ipi_flush_tlb_all, NULL, 1)) { |
|---|
| 634 | | - printk(KERN_CRIT "flush_tlb_all: timed out\n"); |
|---|
| 635 | | - } |
|---|
| 629 | + on_each_cpu(ipi_flush_tlb_all, NULL, 1); |
|---|
| 636 | 630 | } |
|---|
| 637 | 631 | |
|---|
| 638 | 632 | #define asn_locked() (cpu_data[smp_processor_id()].asn_lock) |
|---|
| .. | .. |
|---|
| 667 | 661 | } |
|---|
| 668 | 662 | } |
|---|
| 669 | 663 | |
|---|
| 670 | | - if (smp_call_function(ipi_flush_tlb_mm, mm, 1)) { |
|---|
| 671 | | - printk(KERN_CRIT "flush_tlb_mm: timed out\n"); |
|---|
| 672 | | - } |
|---|
| 664 | + smp_call_function(ipi_flush_tlb_mm, mm, 1); |
|---|
| 673 | 665 | |
|---|
| 674 | 666 | preempt_enable(); |
|---|
| 675 | 667 | } |
|---|
| .. | .. |
|---|
| 720 | 712 | data.mm = mm; |
|---|
| 721 | 713 | data.addr = addr; |
|---|
| 722 | 714 | |
|---|
| 723 | | - if (smp_call_function(ipi_flush_tlb_page, &data, 1)) { |
|---|
| 724 | | - printk(KERN_CRIT "flush_tlb_page: timed out\n"); |
|---|
| 725 | | - } |
|---|
| 715 | + smp_call_function(ipi_flush_tlb_page, &data, 1); |
|---|
| 726 | 716 | |
|---|
| 727 | 717 | preempt_enable(); |
|---|
| 728 | 718 | } |
|---|
| .. | .. |
|---|
| 747 | 737 | } |
|---|
| 748 | 738 | |
|---|
| 749 | 739 | void |
|---|
| 750 | | -flush_icache_user_range(struct vm_area_struct *vma, struct page *page, |
|---|
| 740 | +flush_icache_user_page(struct vm_area_struct *vma, struct page *page, |
|---|
| 751 | 741 | unsigned long addr, int len) |
|---|
| 752 | 742 | { |
|---|
| 753 | 743 | struct mm_struct *mm = vma->vm_mm; |
|---|
| .. | .. |
|---|
| 772 | 762 | } |
|---|
| 773 | 763 | } |
|---|
| 774 | 764 | |
|---|
| 775 | | - if (smp_call_function(ipi_flush_icache_page, mm, 1)) { |
|---|
| 776 | | - printk(KERN_CRIT "flush_icache_page: timed out\n"); |
|---|
| 777 | | - } |
|---|
| 765 | + smp_call_function(ipi_flush_icache_page, mm, 1); |
|---|
| 778 | 766 | |
|---|
| 779 | 767 | preempt_enable(); |
|---|
| 780 | 768 | } |
|---|