X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fcompiler.h;h=7c7546bf1c109eb0365bb983be5f2c44baef8b2f;hb=ce2584379f31cfc44bbe770bb78430950a24156e;hp=320d6c94ff848d5db94fb1fd76576501a88e9a3a;hpb=520045db940a381d2bee1c1b2179f7921b40fb10;p=pandora-kernel.git diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 320d6c94ff84..7c7546bf1c10 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -164,6 +164,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 + #endif /* __KERNEL__ */ #endif /* __ASSEMBLY__ */