X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fust%2Fkernelcompat.h;h=da2326192928cd3d81e233a1f4120d2598e101fe;hb=b73a4c471dc987ea8548632dffb3c7050de77dd0;hp=032030ac1f1526cb252ab94776a43af83c66f146;hpb=058a68cbea07bb2b276c12212ea6129f166b2893;p=ust.git diff --git a/include/ust/kernelcompat.h b/include/ust/kernelcompat.h index 032030a..da23261 100644 --- a/include/ust/kernelcompat.h +++ b/include/ust/kernelcompat.h @@ -197,4 +197,8 @@ static inline u32 trace_clock_freq_scale(void) } +/* PERCPU */ + +#define __get_cpu_var(x) x + #endif /* KERNELCOMPAT_H */