From: Randy Dunlap <randy.dunlap@oracle.com>
To: Jonathan Campbell <jon@nerdgrounds.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Patches for tiny 386 kernels, again. Linux kernel 2.6.22.7
Date: Mon, 24 Sep 2007 10:49:40 -0700 [thread overview]
Message-ID: <20070924104940.50a52cf3.randy.dunlap@oracle.com> (raw)
In-Reply-To: <46F77A85.6020202@nerdgrounds.com>
On Mon, 24 Sep 2007 01:51:17 -0700 Jonathan Campbell wrote:
> Sorry for the long delay, been very busy since I last posted the 386
> kernel patches back in July.
> Now that I have more free time I remade the patches in a cleaner manner,
> broken down into
> smaller patches, with fewer #ifdefs all over the place. most #ifdefs are
> in the include/asm-i386 headers
> now.
Regarding only the DMI-disable patch:
> linux-2.6.22.7-embedded-dmi-disable-option.patch:
> * Allows you to remove DMI (Desktop Management Interface) parsing.
> Older computers do
> not have DMI structures in the BIOS, on these computers the DMI
> code is a waste of space.
> In my tests with applying this patch and disabling DMI removes
> 6KB from
> arch/i386/boot/bzImage after compile. Apparently there is already
> a CONFIG_DMI out there,
> and #ifdef's in some parts to check this, so all this patch does
> is make CONFIG_DMI visible
> from "make menuconfig" while patching up other parts (like ACPI)
> that simply assume DMI
> functions are there. Depends on CONFIG_EMBEDDED.
This seems reasonable, so I tried to use it. Here are the results
and comments and meta-comments.
1. Please forcibly wrap text lines in mail body at around column 70-72.
2. Put patches inline in the mail body, not as attachments.
3. Make patches against current mainline (e.g., 2.6.23-rc7), not
against the stable tree. Mainline is where someone would end
up applying them.
4. The DMI patch does not build against current mainline. It needs
the additional patch below (at end of mail).
5. The Kconfig part of the DMI patch contains a trailing space.
No brownie today.
6. The Kconfig entry for "config DMI" should not be listed under
"Processor types and features". It should just go into the
main EMBEDDED menu:
menuconfig EMBEDDED
bool "Configure standard kernel features (for small systems)"
After all of these fixes, I can ack the patch.
---
From: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/acpi/thermal.c | 2 ++
1 file changed, 2 insertions(+)
--- linux-2.6.23-rc7.orig/drivers/acpi/thermal.c
+++ linux-2.6.23-rc7/drivers/acpi/thermal.c
@@ -1440,7 +1440,9 @@ static int __init acpi_thermal_init(void
{
int result = 0;
+#ifdef CONFIG_DMI
dmi_check_system(thermal_dmi_table);
+#endif /* CONFIG_DMI */
if (off) {
printk(KERN_NOTICE "ACPI: thermal control disabled\n");
next prev parent reply other threads:[~2007-09-24 17:49 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-24 8:51 Jonathan Campbell
2007-09-24 17:49 ` Randy Dunlap [this message]
2007-09-26 18:42 ` Jonathan Campbell
2007-09-26 22:06 ` Randy Dunlap
2007-09-26 23:20 ` Randy Dunlap
2007-09-26 23:44 ` Jonathan Campbell
[not found] ` <46FAEE97.7090902@nerdgrounds.com>
2007-09-26 23:47 ` Randy Dunlap
2007-09-26 23:49 ` Jonathan Campbell
2007-09-28 21:24 ` Bill Davidsen
2007-09-28 21:56 ` Randy Dunlap
2007-10-01 13:44 ` Lennart Sorensen
2007-10-01 14:28 ` Bill Davidsen
2007-10-02 4:48 ` Willy Tarreau
2007-09-24 19:09 ` Dave Jones
2007-09-25 4:45 ` Andrey Panin
2007-09-25 7:28 ` Jan Engelhardt
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=20070924104940.50a52cf3.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=jon@nerdgrounds.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome