Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1436290
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Baoquan He <bhe@redhat.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH] ACPI/init: Correct the comments about acpi_subsystem_init |
| Date | Mon, 04 Jul 2016 05:20:01 +0200 |
| Message-ID | <rR2Ap-n0-3@gated-at.bofh.it> (permalink) |
| X-Original-To | rjw@rjwysocki.net, lenb@kernel.org |
| X-Scanned-By | MIMEDefang 2.68 on 10.5.11.23 |
| X-Greylist | Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 04 Jul 2016 03:14:04 +0000 (UTC) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 29 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Baoquan He <bhe@redhat.com> |
| X-Original-Date | Mon, 4 Jul 2016 11:13:59 +0800 |
| X-Original-Message-ID | <1467602039-13186-1-git-send-email-bhe@redhat.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1436290 |
Show key headers only | View raw
In acpi_subsystem_init, function acpi_enable_subsystem is called to do the real job. However with different flags passed to acpi_enable_subsystem, different code is executed. In acpi_subsystem_init with "~ACPI_NO_ACPI_ENABLE" passed in it will only switch over the platform to the ACPI mode. The rest part of acpi_enable_subsystem is done when acpi_bus_init is called. So the comments above acpi_subsystem_init is not exact, change it here. Signed-off-by: Baoquan He <bhe@redhat.com> --- drivers/acpi/bus.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 262ca31..eef468d 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -961,8 +961,7 @@ void __init acpi_early_init(void) /** * acpi_subsystem_init - Finalize the early initialization of ACPI. * - * Switch over the platform to the ACPI mode (if possible), initialize the - * handling of ACPI events, install the interrupt and global lock handlers. + * Switch over the platform to the ACPI mode (if possible). * * Doing this too early is generally unsafe, but at the same time it needs to be * done before all things that really depend on ACPI. The right spot appears to -- 2.5.5
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] ACPI/init: Correct the comments about acpi_subsystem_init Baoquan He <bhe@redhat.com> - 2016-07-04 05:20 +0200 Re: [PATCH] ACPI/init: Correct the comments about acpi_subsystem_init "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-06 23:30 +0200
csiph-web