From: Eric Paris Date: Tue, 15 Sep 2009 00:59:48 +0000 (-0400) Subject: SELinux: inline selinux_is_enabled in !CONFIG_SECURITY_SELINUX X-Git-Tag: v2.6.32-rc1~683^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a478905adbb2e09a59644e76f7fe7e0ab644204;p=pandora-kernel.git SELinux: inline selinux_is_enabled in !CONFIG_SECURITY_SELINUX Without this patch building a kernel emits millions of warning like: include/linux/selinux.h:92: warning: ?selinux_is_enabled? defined but not used When it is build without CONFIG_SECURITY_SELINUX. This is harmless, but the function should be inlined, so it gets compiled out. Reported-by: Linus Torvalds Signed-off-by: Eric Paris Signed-off-by: James Morris --- Reading git-diff-tree failed