]> git.karo-electronics.de Git - karo-tx-linux.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)
commit0ce8974d504913a0f0ae2d97b20a5ac665431a41
tree50edf9b96066a3ca66143da742980dc04d72fb05
parent36885d7b1121c779e4060d45472fe53a5b21e09f
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