Message ID | 1473692159-4017-5-git-send-email-kan.liang@intel.com |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/core/netpolicy.c b/net/core/netpolicy.c index 882f0de..31c41ca 100644 --- a/net/core/netpolicy.c +++ b/net/core/netpolicy.c @@ -50,6 +50,11 @@ static void netpolicy_free_dev_info(struct netpolicy_dev_info *d_info) kfree(d_info->tx_irq); } +static u32 netpolicy_get_cpu_information(void) +{ + return num_online_cpus(); +} + const char *policy_name[NET_POLICY_MAX] = { "NONE" };