Fwd: Issue with arm-devel tree

From: Russell King
Date: Sat Jan 12 2008 - 09:55:28 EST


It might be a good idea if there was some co-ordination with people
involved in the duplicate include removal work...

[ARM] remove duplicate includes

Signed-off-by: Lucas Woods <woodzy@xxxxxxxxx>
Acked-by: Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>

@@ -20,7 +20,6 @@
#include <linux/module.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
-#include <linux/reboot.h>

#include <asm/mach-types.h>


[ARM] ixp4xx: remove double include

Remove double include.

Signed-off-by: Andre Haupt <andre@xxxxxxxxxxxxxxx>
Signed-off-by: Alessandro Zummo <a.zummo@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>

@@ -18,7 +18,6 @@
*/

#include <linux/module.h>
-#include <linux/reboot.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/reboot.h>

I've dropped the "ixp4xx: remove double include" commit and fixed the
resulting breakage of "remove duplicate includes" change to resolve this
problem.

----- Forwarded message from Michael-Luke Jones <jonesml@xxxxxxxxxxx> -----

To: rmk@xxxxxxxxxxxxxxxx
From: Michael-Luke Jones <jonesml@xxxxxxxxxxx>
Subject: Issue with arm-devel tree
Date: Sat, 12 Jan 2008 14:23:44 +0000

http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/arm:devel.mbox

contains two patches:

"Re: [ARM] remove duplicate includes" from Lucas Woods
<woodzy@xxxxxxxxx>
"Re: [ARM] ixp4xx: remove double include" from Andre Haupt
<andre@xxxxxxxxxxxxxxx>

which between the two of them manage to delete *both* instances of
#include <linux/reboot.h> in nslu2-power.c

Given that nslu2-power.c calls machine_power_off() and ctrl_alt_del()
this probably isn't a good thing.

Michael-Luke Jones

----- End forwarded message -----

--
Russell King
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/