diff options
author | Damjan Marion <damarion@cisco.com> | 2019-02-02 00:15:27 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-02-02 00:45:09 +0000 |
commit | 652d2e139443cea073da9b7bef8ee21e41a14111 (patch) | |
tree | dc477b1151b19b636e01bfc207258e0555dc9b2f /src/vppinfra | |
parent | 9bb20b310280a3c9604f9dd24fbb6757d7f9ca65 (diff) |
Deprecate old mutliarch code, phase 1
It is causing compilation sloness with gcc-7 so removing it
before it was originally planned.
So far macros are left in the tree so we can know which nodes to
convert to new multiarch code.
Change-Id: Idb14622ca61fdce1eba59723b20d98715b7971e6
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r-- | src/vppinfra/cpu.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/vppinfra/cpu.h b/src/vppinfra/cpu.h index 7f0d6ad2e34..ee199e2cf32 100644 --- a/src/vppinfra/cpu.h +++ b/src/vppinfra/cpu.h @@ -45,12 +45,8 @@ if (clib_cpu_supports_ ## arch()) \ return & fn ## _ ##arch; -#define CLIB_MULTIARCH_SELECT_FN(fn,...) \ - __VA_ARGS__ void * fn ## _multiarch_select(void) \ -{ \ - foreach_march_variant(CLIB_MULTIARCH_ARCH_CHECK, fn) \ - return & fn; \ -} +/* FIXME to be removed */ +#define CLIB_MULTIARCH_SELECT_FN(fn,...) #ifdef CLIB_MARCH_VARIANT #define __CLIB_MULTIARCH_FN(a,b) a##_##b |