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

« back to all changes in this revision

Viewing changes to arch/arm/mach-ux500/include/mach/smp.h

  • 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:
1
 
/*
2
 
 * This file is based ARM realview platform.
3
 
 * Copyright (C) ARM Limited.
4
 
 *
5
 
 * This file is licensed under  the terms of the GNU General Public
6
 
 * License version 2. This program is licensed "as is" without any
7
 
 * warranty of any kind, whether express or implied.
8
 
 */
9
 
#ifndef ASMARM_ARCH_SMP_H
10
 
#define ASMARM_ARCH_SMP_H
11
 
 
12
 
#include <asm/hardware/gic.h>
13
 
 
14
 
/* This is required to wakeup the secondary core */
15
 
extern void u8500_secondary_startup(void);
16
 
 
17
 
/*
18
 
 * We use IRQ1 as the IPI
19
 
 */
20
 
static inline void smp_cross_call(const struct cpumask *mask, int ipi)
21
 
{
22
 
        gic_raise_softirq(mask, ipi);
23
 
}
24
 
#endif