Re: [PATCH] Patches for tiny 386 kernels, again. Linux kernel 2.6.22.7

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jonathan Campbell <jon@...>
Cc: <linux-kernel@...>
Date: Monday, September 24, 2007 - 1:49 pm

On Mon, 24 Sep 2007 01:51:17 -0700 Jonathan Campbell wrote:


Regarding only the DMI-disable patch:



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");
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Patches for tiny 386 kernels, again. Linux kernel 2...., Jonathan Campbell, (Mon Sep 24, 4:51 am)
Re: [PATCH] Patches for tiny 386 kernels, again. Linux kerne..., Randy Dunlap, (Mon Sep 24, 1:49 pm)
Re: [PATCH] Patches for tiny 386 kernels, again. Linux kerne..., Jonathan Campbell, (Wed Sep 26, 2:42 pm)
Re: [PATCH] Patches for tiny 386 kernels, again. Linux kerne..., Jonathan Campbell, (Wed Sep 26, 7:44 pm)