| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * mpc7448_hpc2.c |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 11 | 12 | * Add Flat Device Tree support fot mpc7448hpc2 board |
|---|
| 12 | 13 | * |
|---|
| 13 | 14 | * Copyright 2004-2006 Freescale Semiconductor, Inc. |
|---|
| 14 | | - * |
|---|
| 15 | | - * This program is free software; you can redistribute it and/or |
|---|
| 16 | | - * modify it under the terms of the GNU General Public License |
|---|
| 17 | | - * as published by the Free Software Foundation; either version |
|---|
| 18 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 19 | 15 | */ |
|---|
| 20 | 16 | |
|---|
| 21 | 17 | #include <linux/stddef.h> |
|---|
| .. | .. |
|---|
| 151 | 147 | local_irq_disable(); |
|---|
| 152 | 148 | |
|---|
| 153 | 149 | /* Set exception prefix high - to the firmware */ |
|---|
| 154 | | - _nmask_and_or_msr(0, MSR_IP); |
|---|
| 150 | + mtmsr(mfmsr() | MSR_IP); |
|---|
| 151 | + isync(); |
|---|
| 155 | 152 | |
|---|
| 156 | 153 | for (;;) ; /* Spin until reset happens */ |
|---|
| 157 | 154 | } |
|---|