aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2017-08-11 18:31:24 +0200
committerDavid S. Miller <[email protected]>2017-08-11 14:59:24 -0700
commite4dde4127396f0c8f1c2e11b3ecc5baf4f8628bf (patch)
tree13006687b3b33d59f0388bfb2347033a6e12ebce /tools/perf/scripts/python/call-graph-from-sql.py
parent54a6a043fb8580d5a741774669ef6049f402f228 (diff)
net: fix compilation when busy poll is not enabled
MIN_NAPI_ID is used in various places outside of CONFIG_NET_RX_BUSY_POLL wrapping, so when it's not set we run into build errors such as: net/core/dev.c: In function 'dev_get_by_napi_id': net/core/dev.c:886:16: error: ‘MIN_NAPI_ID’ undeclared (first use in this function) if (napi_id < MIN_NAPI_ID) ^~~~~~~~~~~ Thus, have MIN_NAPI_ID always defined to fix these errors. Signed-off-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions