diff options
| author | Viresh Kumar <viresh.kumar@linaro.org> | 2020-12-08 08:52:17 +0300 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2020-12-08 08:52:17 +0300 |
| commit | c8bb4520543823a9b3da3861304273dc7232e2c7 (patch) | |
| tree | 26670815d56dfc89fbe55e77c8e987324b70f95f /tools/include/linux | |
| parent | f45f89a778e8a61d9c79405e8c716058b6ba12f2 (diff) | |
| parent | f9b0498d29404f230894490d622e57e481c7d45a (diff) | |
| download | linux-c8bb4520543823a9b3da3861304273dc7232e2c7.tar.xz | |
Merge branch 'cpufreq/scmi' into cpufreq/arm/linux-next
Diffstat (limited to 'tools/include/linux')
| -rw-r--r-- | tools/include/linux/compiler-gcc.h | 12 | ||||
| -rw-r--r-- | tools/include/linux/compiler.h | 3 |
2 files changed, 0 insertions, 15 deletions
diff --git a/tools/include/linux/compiler-gcc.h b/tools/include/linux/compiler-gcc.h index b9d4322e1e65..95c072b70d0e 100644 --- a/tools/include/linux/compiler-gcc.h +++ b/tools/include/linux/compiler-gcc.h @@ -27,18 +27,6 @@ #define __pure __attribute__((pure)) #endif #define noinline __attribute__((noinline)) -#ifdef __has_attribute -#if __has_attribute(disable_tail_calls) -#define __no_tail_call __attribute__((disable_tail_calls)) -#endif -#endif -#ifndef __no_tail_call -#if GCC_VERSION > 40201 -#define __no_tail_call __attribute__((optimize("no-optimize-sibling-calls"))) -#else -#define __no_tail_call -#endif -#endif #ifndef __packed #define __packed __attribute__((packed)) #endif diff --git a/tools/include/linux/compiler.h b/tools/include/linux/compiler.h index 2b3f7353e891..d22a974372c0 100644 --- a/tools/include/linux/compiler.h +++ b/tools/include/linux/compiler.h @@ -47,9 +47,6 @@ #ifndef noinline #define noinline #endif -#ifndef __no_tail_call -#define __no_tail_call -#endif /* Are two types/vars the same type (ignoring qualifiers)? */ #ifndef __same_type |
