]> git.baikalelectronics.ru Git - kernel.git/commit
capability: export has_capability
authorJike Song <jike.song@intel.com>
Thu, 12 Jan 2017 08:52:02 +0000 (16:52 +0800)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 12 Jan 2017 14:01:56 +0000 (07:01 -0700)
commit7dfc6a50e3113eab39dc3e2a89da56c05dd847ff
tree60671d3e96d01a289fe62acca8fe1c3ca1a4bac4
parentd09b12809c34a28ca2714d9c1d272490329122c6
capability: export has_capability

has_capability() is sometimes needed by modules to test capability
for specified task other than current, so export it.

Cc: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Jike Song <jike.song@intel.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
Acked-by: James Morris <james.l.morris@oracle.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
kernel/capability.c