Rev 2696 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2696 | Rev 3913 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | /** @addtogroup mips32 |
29 | /** @addtogroup mips32 |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #include <arch/smp/order.h> |
35 | #include <arch/smp/dorder.h> |
36 | 36 | ||
37 | #define MSIM_ORDER_ADDRESS 0xB0000004 |
37 | #define MSIM_DORDER_ADDRESS 0xB0000004 |
38 | 38 | ||
39 | void ipi_broadcast_arch(int ipi) |
39 | void ipi_broadcast_arch(int ipi) |
40 | { |
40 | { |
- | 41 | #ifdef CONFIG_SMP |
|
41 | *((volatile unsigned int *) MSIM_ORDER_ADDRESS) = 0x7FFFFFFF; |
42 | *((volatile unsigned int *) MSIM_DORDER_ADDRESS) = 0x7FFFFFFF; |
- | 43 | #endif |
|
42 | } |
44 | } |
43 | 45 | ||
44 | /** @} |
46 | /** @} |
45 | */ |
47 | */ |