[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140213130343.GA25725@khazad-dum.debian.net>
Date: Thu, 13 Feb 2014 11:03:44 -0200
From: Henrique de Moraes Holschuh <hmh@....eng.br>
To: dl9pf@....de
Cc: Behan Webster <behanw@...verseincode.com>,
David Woodhouse <David.Woodhouse@...el.com>,
Matthew Garrett <matthew.garrett@...ula.com>,
ibm-acpi-devel@...ts.sourceforge.net,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86, acpi: LLVMLinux: Remove nested functions from
Thinkpad ACPI
On Wed, 12 Feb 2014, dl9pf@....de wrote:
> From: Behan Webster <behanw@...verseincode.com>
> 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@...verseincode.com>
> Signed-off-by: Jan-Simon Möller <dl9pf@....de>
>
> CC: David Woodhouse <David.Woodhouse@...el.com>
> CC: Matthew Garrett <matthew.garrett@...ula.com>
> CC: ibm-acpi-devel@...ts.sourceforge.net
> CC: platform-driver-x86@...r.kernel.org
> CC: linux-kernel@...r.kernel.org
Acked-by: Henrique de Moraes Holschuh <hmh@....eng.br>
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists