Re: 2.5.18 -- build failure -- suspend.c:1052: dereferencing pointer

Tim Schmielau (tim@physik3.uni-rostock.de)
Sat, 25 May 2002 09:28:11 +0200 (CEST)


On Fri, 24 May 2002, Miles Lane wrote:

> I have included the error, the output of ver_linux and
> snippets of .config.

I have not yet analyzed why I don't get this failunre, but does the
following patch fix it for you?

Tim

--- linux-2.5.18/kernel/suspend.c Sat May 25 09:25:30 2002
+++ linux-2.5.18/kernel/suspend.c Sat May 25 09:25:44 2002
@@ -66,6 +66,7 @@
#include <linux/swap.h>
#include <linux/pm.h>
#include <linux/device.h>
+#include <linux/sched.h>

#include <asm/uaccess.h>
#include <asm/mmu_context.h>

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