]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: acpidump: Add sparse declarators support.
authorLv Zheng <lv.zheng@intel.com>
Tue, 11 Feb 2014 02:51:33 +0000 (10:51 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 13 Feb 2014 14:29:38 +0000 (15:29 +0100)
commit446df36438991b1dd2465262a5a54bc61c9162a1
tree0696ce350147bc13aa6404ca9c63dd540ffe22dd
parent0fb7d508a2cc149a59a572ffb0bb94a5f9f764df
ACPICA: acpidump: Add sparse declarators support.

Linux kernel resident ACPICA headers include some sparse declarators for
kernel static checkers.  This patch adds code to disable them for non
__KERNEL__ defined code so that it is possible for the ACPICA user space
tool's source files to be built with Linux kernel ACPICA header files
included.  Lv Zheng.

Linux kernel build is not affected by this commit.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/platform/aclinux.h