openocd: remove CamelCase symbols *xPSR*
[fw/openocd] / src / rtos / zephyr.c
index 7f3325fead50b5d41c0270582106b720ad2a96f7..5f7795337191f982eba51abb16f691946c24c501 100644 (file)
@@ -1,11 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
 /***************************************************************************
  *   Copyright (C) 2017 by Intel Corporation
  *   Leandro Pereira <leandro.pereira@intel.com>
  *   Daniel Glöckner <dg@emlix.com>*
  *   Copyright (C) 2021 by Synopsys, Inc.
  *   Evgeniy Didin <didin@synopsys.com>
- *                                                                         *
- *   SPDX-License-Identifier: GPL-2.0-or-later                             *
  ***************************************************************************/
 
 #ifdef HAVE_CONFIG_H
@@ -136,7 +136,7 @@ static const struct stack_register_offset arm_cpu_saved[] = {
        { ARMV7M_R13,  -2, 32 },
        { ARMV7M_R14,  20, 32 },
        { ARMV7M_PC,   24, 32 },
-       { ARMV7M_xPSR, 28, 32 },
+       { ARMV7M_XPSR, 28, 32 },
 };
 
 static struct stack_register_offset arc_cpu_saved[] = {