s used to call the nested function indirectly. For
some targets, it is made up of data only and thus requires no
special treatment. But, for most targets, it is made up of code
and thus requires the stack to be made executable in order for the
program to work properly.
of nested functions
blocks this effort.
Signed-off-by: Behan Webster
Signed-off-by: Jan-Simon Möller
---
drivers/platform/x86/thinkpad_acpi.c | 86 +++-
1 file changed, 45 insertions(+), 41 deletions(-)
diff --git a/drivers/platform/x86/thinkpad_acpi.c
b/drivers/pl
Remove the use of nested functions from the Thinkpad ACPI driver.
Signed-off-by: Behan Webster
Signed-off-by: Jan-Simon Möller
---
drivers/platform/x86/thinkpad_acpi.c | 86 ++
1 file changed, 45 insertions(+), 41 deletions(-)
diff --git a/drivers/platform