rk3368 ddr: add configure ddr timing function
[firefly-linux-kernel-4.4.55.git] / include / linux / compiler.h
index fe7a686dfd8dc3b87dcc35d0bdd3e50a47324014..2472740d7ab2201f58d68ce864448b3def30cdaf 100644 (file)
@@ -170,6 +170,10 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect);
     (typeof(ptr)) (__ptr + (off)); })
 #endif
 
+#ifndef OPTIMIZER_HIDE_VAR
+#define OPTIMIZER_HIDE_VAR(var) barrier()
+#endif
+
 /* Not-quite-unique ID. */
 #ifndef __UNIQUE_ID
 # define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __LINE__)