From: Len Brown <len.brown@intel.com>
To: Jesse Barnes <jbarnes@sgi.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [BKPATCH] ACPI 20030916 for 2.4.23-pre4
Date: 18 Sep 2003 23:49:46 -0400 [thread overview]
Message-ID: <1063943386.2681.394.camel@linux.local> (raw)
In-Reply-To: <20030917153542.GA22959@sgi.com>
Yes, and thanks!
This fix has been integrated with others in the ACPI patch,
and is available now in these bitkeeper trees:
http://linux-acpi.bkbits.net/linux-acpi-test-2.4.22
http://linux-acpi.bkbits.net/linux-acpi-test-2.4.23
http://linux-acpi.bkbits.net/linux-acpi-test-2.6.0
On Wed, 2003-09-17 at 11:35, Jesse Barnes wrote:
> Can you please push this one as well? Thanks.
>
> Jesse
>
>
> diff -Nru a/drivers/acpi/tables.c b/drivers/acpi/tables.c
> --- a/drivers/acpi/tables.c Tue Sep 9 10:24:34 2003
> +++ b/drivers/acpi/tables.c Tue Sep 9 10:24:34 2003
> @@ -69,7 +69,8 @@
>
> static unsigned long sdt_pa; /* Physical Address */
> static unsigned long sdt_count; /* Table count */
> -static struct acpi_table_sdt *sdt_entry;
> +
> +static struct acpi_table_sdt sdt_entry[ACPI_MAX_TABLES];
>
> void
> acpi_table_print (
> @@ -425,12 +426,6 @@
> sdt_count = ACPI_MAX_TABLES;
> }
>
> - sdt_entry = alloc_bootmem(sdt_count * sizeof(struct acpi_table_sdt));
> - if (!sdt_entry) {
> - printk(KERN_ERR "ACPI: Could not allocate mem for SDT entries!\n");
> - return -ENOMEM;
> - }
> -
> for (i = 0; i < sdt_count; i++)
> sdt_entry[i].pa = (unsigned long) mapped_xsdt->entry[i];
> }
> @@ -475,12 +470,6 @@
> printk(KERN_WARNING PREFIX "Truncated %lu RSDT entries\n",
> (sdt_count - ACPI_MAX_TABLES));
> sdt_count = ACPI_MAX_TABLES;
> - }
> -
> - sdt_entry = alloc_bootmem(sdt_count * sizeof(struct acpi_table_sdt));
> - if (!sdt_entry) {
> - printk(KERN_ERR "ACPI: Could not allocate mem for SDT entries!\n");
> - return -ENOMEM;
> }
>
> for (i = 0; i < sdt_count; i++)
prev parent reply other threads:[~2003-09-19 3:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-15 21:33 ACPI fixes Marcelo Tosatti
2003-09-15 22:37 ` Andrew de Quincey
2003-09-17 0:50 ` [BKPATCH] ACPI 20030916 for 2.4.23-pre4 Len Brown
[not found] ` <1063759840.13038.23.camel-Tk/TtsB/rErDOqzlkpFKJg@public.gmane.org>
2003-09-17 1:38 ` Len Brown
2003-09-17 1:38 ` Len Brown
[not found] ` <1063762727.13038.34.camel-Tk/TtsB/rErDOqzlkpFKJg@public.gmane.org>
2003-09-17 7:27 ` [ACPI] " Karol Kozimor
2003-09-17 7:27 ` Karol Kozimor
2003-09-17 15:35 ` Jesse Barnes
2003-09-17 15:57 ` Len Brown
2003-09-19 3:49 ` Len Brown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1063943386.2681.394.camel@linux.local \
--to=len.brown@intel.com \
--cc=jbarnes@sgi.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.