Commit 48c74958 authored by Committed by David S. Miller
net sysctl: Add place holder functions for when sysctl support is compiled out of the kernel.
Randy Dunlap <email@example.com> reported: > On 04/23/2012 12:07 AM, Stephen Rothwell wrote: > >> Hi all, >> >> Changes since 20120420: > > > > ERROR: "unregister_net_sysctl_table" [net/phonet/phonet.ko] undefined! > ERROR: "register_net_sysctl" [net/phonet/phonet.ko] undefined! > > when CONFIG_SYSCTL is not enabled. Add static inline stub functions to gracefully handle the case when sysctl support is not present. Signed-off-by: Eric W. Biederman <firstname.lastname@example.org> Acked-by: Randy Dunlap <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Showing with 12 additions and 3 deletions