From: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Subject: kabi mlx5 hide cpu_rmap
Patch-Mainline: never, kABI
References: bsc#1046303 FATE#322944
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
drivers/net/ethernet/mellanox/mlx5/core/eq.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/net/ethernet/mellanox/mlx5/core/eq.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/eq.c
@@ -34,9 +34,11 @@
#include <linux/module.h>
#include <linux/mlx5/driver.h>
#include <linux/mlx5/cmd.h>
+#ifndef __GENKSYMS__
#ifdef CONFIG_RFS_ACCEL
#include <linux/cpu_rmap.h>
#endif
+#endif
#include "mlx5_core.h"
#include "fpga/core.h"
#include "eswitch.h"