arm64: zynqmp: Add clock name for GPU
[oweals/u-boot.git] / arch / sh / include / asm / system.h
index a62c42261d7af4bb562d3dbf56f150be5ea29250..24b5ce8e3042e0e498c8f1514aa28bca9b23306c 100644 (file)
@@ -8,7 +8,7 @@
  * from linux kernel code.
  */
 
-#include <linux/irqflags.h>
+#include <asm/irqflags.h>
 #include <asm/types.h>
 
 /*
@@ -272,4 +272,14 @@ void enable_hlt(void);
 
 #define arch_align_stack(x) (x)
 
+static inline void trigger_address_error(void)
+{
+       set_bl_bit();
+       __asm__ __volatile__ (
+               "mov.l @%1, %0"
+               :
+               : "r" (0x10000000), "r" (0x80000001)
+       );
+}
+
 #endif