From 8219376a1252d3e76fd93c6d353b7d810077c8a4 Mon Sep 17 00:00:00 2001 From: Alistair Delva Date: Mon, 2 Mar 2020 12:50:07 -0800 Subject: [PATCH] ANDROID: Unconditionally create bridge tracepoints Even if the bridge module is not enabled, we may need the tracepoints downstream in products that enable bridge.ko, so avoid defining the export of these symbols based on a config option. Bug: 150625937 Change-Id: Ib961fd6e353fe3bdfde11a38488568f42f1dbe7a Signed-off-by: Alistair Delva --- net/core/net-traces.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/core/net-traces.c b/net/core/net-traces.c index 283ddb2dbc7d..465362a9b55d 100644 --- a/net/core/net-traces.c +++ b/net/core/net-traces.c @@ -35,13 +35,11 @@ #include #include #include -#if IS_ENABLED(CONFIG_BRIDGE) #include EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_add); EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_external_learn_add); EXPORT_TRACEPOINT_SYMBOL_GPL(fdb_delete); EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_update); -#endif #if IS_ENABLED(CONFIG_PAGE_POOL) #include