forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * mpc7448_hpc2.c
34 *
....@@ -11,11 +12,6 @@
1112 * Add Flat Device Tree support fot mpc7448hpc2 board
1213 *
1314 * 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.
1915 */
2016
2117 #include <linux/stddef.h>
....@@ -151,7 +147,8 @@
151147 local_irq_disable();
152148
153149 /* Set exception prefix high - to the firmware */
154
- _nmask_and_or_msr(0, MSR_IP);
150
+ mtmsr(mfmsr() | MSR_IP);
151
+ isync();
155152
156153 for (;;) ; /* Spin until reset happens */
157154 }