diff options
author | Behan Webster <behanw@converseincode.com> | 2013-02-12 22:25:57 -0500 |
---|---|---|
committer | Behan Webster <behanw@converseincode.com> | 2014-04-09 13:44:35 -0700 |
commit | 3ddf5ce966a7b87b0605fe9a364a492bd1915d0f (patch) | |
tree | 4fc3e3475e6ed9c701f7db457fd27c8b55e03736 /crypto/cryptd.c | |
parent | 565cbdc2fec92ef2ae75995e06e69172ed2edecd (diff) | |
download | linux-3ddf5ce966a7b87b0605fe9a364a492bd1915d0f.tar.bz2 |
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>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Diffstat (limited to 'crypto/cryptd.c')
0 files changed, 0 insertions, 0 deletions