]> git.baikalelectronics.ru Git - kernel.git/commit
sysctl: Consolidate !CONFIG_SYSCTL handling
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 6 Jan 2012 11:13:27 +0000 (03:13 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 25 Jan 2012 00:37:54 +0000 (16:37 -0800)
commitb28da4b50744743d9d821bbb0b29460a58fa98ec
tree50edf9b96066a3ca66143da742980dc04d72fb05
parent74b0fc89f3461294420926df7377328603098617
sysctl: Consolidate !CONFIG_SYSCTL handling

- In sysctl.h move functions only available if CONFIG_SYSCL
  is defined inside of #ifdef CONFIG_SYSCTL

- Move the stub function definitions for !CONFIG_SYSCTL
  into sysctl.h and make them static inlines.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
include/linux/sysctl.h
kernel/sysctl.c