summaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome
diff options
context:
space:
mode:
authorBehan Webster <behanw@converseincode.com>2014-02-12 21:58:46 +0100
committerMatthew Garrett <matthew.garrett@nebula.com>2014-04-06 12:58:15 -0400
commita4d44ba1266a04cdfda4b2c4ee496d684a47f567 (patch)
tree8bed762872da77b0ba74867fc53727bd7a37edb5 /drivers/platform/chrome
parent330947b84382479459e5296a0024c670367b0b57 (diff)
downloadlinux-stable-a4d44ba1266a04cdfda4b2c4ee496d684a47f567.tar.gz
linux-stable-a4d44ba1266a04cdfda4b2c4ee496d684a47f567.tar.bz2
linux-stable-a4d44ba1266a04cdfda4b2c4ee496d684a47f567.zip
x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI
The only real change is passing in event_mask to the formerly nested functions. Otherwise it's just moving around function and macro code. This is the only place in the Linux kernel where nested functions are still in use. Nested functions aren't part of the C standards, and complicate the generated code. Although the Linux Kernel has never set out to be entirely C standard compliant, it is increasingly compliant to the standard which is supported by other compilers such as Clang. The LLVMLinux project is working on being able to compile the Linux kernel with Clang. The use of nested functions blocks this effort. Signed-off-by: Behan Webster <behanw@converseincode.com> Signed-off-by: Jan-Simon Möller <dl9pf@gmx.de> CC: David Woodhouse <David.Woodhouse@intel.com> CC: Matthew Garrett <matthew.garrett@nebula.com> CC: ibm-acpi-devel@lists.sourceforge.net CC: platform-driver-x86@vger.kernel.org CC: linux-kernel@vger.kernel.org Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'drivers/platform/chrome')
0 files changed, 0 insertions, 0 deletions