common: Move enable/disable_interrupts out of common.h
[oweals/u-boot.git] / post / lib_powerpc / rlwinm.c
index 5eaf30b8e77677fa13a5edcb775639b1ebb60c93..8a03e9b9bcb6f350c7dfa8a9acbc1ec2c094a8f2 100644 (file)
@@ -1,11 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2002
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
+#include <irq_func.h>
 
 /*
  * CPU test
@@ -107,7 +107,7 @@ int cpu_post_test_rlwinm (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at rlwinm test %d !\n", i);
+                   post_log ("Error at rlwinm test %d !\n", i);
                }
            }
 
@@ -120,8 +120,8 @@ int cpu_post_test_rlwinm (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at rlwinm test %d !\n", i);
-               }
+                   post_log ("Error at rlwinm test %d !\n", i);
+               }
            }
        }
     }