common: Move enable/disable_interrupts out of common.h
[oweals/u-boot.git] / post / lib_powerpc / b.c
index 43b4c353078cc1541885abdf136ccd3addef9f16..0b02e9169e2b4bf61bd05df03933f39d7b43cdfc 100644 (file)
@@ -1,18 +1,18 @@
+// 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
  * Branch instructions:                b, bl, bc
  *
  * The first 2 instructions (b, bl) are verified by jumping
- * to a fixed address and checking whether control was transfered
+ * to a fixed address and checking whether control was transferred
  * to that very point. For the bl instruction the value of the
  * link register is checked as well (using mfspr).
  * To verify the bc instruction various combinations of the BI/BO