~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/alpha/kernel/smp.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
451
451
        }
452
452
 
453
453
        printk(KERN_INFO "SMP: %d CPUs probed -- cpu_present_map = %lx\n",
454
 
               smp_num_probed, cpu_present_map.bits[0]);
 
454
               smp_num_probed, cpumask_bits(cpu_present_mask)[0]);
455
455
}
456
456
 
457
457
/*
585
585
 
586
586
                switch (which) {
587
587
                case IPI_RESCHEDULE:
588
 
                        /* Reschedule callback.  Everything to be done
589
 
                           is done by the interrupt return path.  */
 
588
                        scheduler_ipi();
590
589
                        break;
591
590
 
592
591
                case IPI_CALL_FUNC:
630
629
void
631
630
smp_send_stop(void)
632
631
{
633
 
        cpumask_t to_whom = cpu_possible_map;
634
 
        cpu_clear(smp_processor_id(), to_whom);
 
632
        cpumask_t to_whom;
 
633
        cpumask_copy(&to_whom, cpu_possible_mask);
 
634
        cpumask_clear_cpu(smp_processor_id(), &to_whom);
635
635
#ifdef DEBUG_IPI_MSG
636
636
        if (hard_smp_processor_id() != boot_cpu_id)
637
637
                printk(KERN_WARNING "smp_send_stop: Not on boot cpu.\n");