From: Adrian Bunk <bunk@fs.tum.de>
To: Alan Cox <alan@redhat.com>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Pavel Machek <pavel@suse.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.5.49-ac1
Date: Tue, 26 Nov 2002 14:59:29 +0100 [thread overview]
Message-ID: <20021126135929.GP24796@fs.tum.de> (raw)
In-Reply-To: <200211252352.gAPNqnt09081@devserv.devel.redhat.com>
On Mon, Nov 25, 2002 at 06:52:49PM -0500, Alan Cox wrote:
>...
> Linux 2.5.49-ac1
>...
> o Remove dead swsuspend defines (Geert Uytterhoeven)
>...
This broke the compilation of kernel/sys.c:
<-- snip -->
...
gcc -Wp,-MD,kernel/.sys.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=k6 -p -Iarch/i386/mach-generic
-Iarch/i386/mach-defaults -nostdinc -iwithprefix include
-DKBUILD_BASENAME=sys -DKBUILD_MODNAME=sys -c -o kernel/sys.o
kernel/sys.c
kernel/sys.c: In function `sys_reboot':
kernel/sys.c:473: `software_suspend_enabled' undeclared (first use in
this function)
kernel/sys.c:473: (Each undeclared identifier is reported only once
kernel/sys.c:473: for each function it appears in.)
kernel/sys.c:477: warning: implicit declaration of function
`software_suspend'
make[1]: *** [kernel/sys.o] Error 1
<-- snip -->
The fix is simple:
--- linux-2.5.49-ac/kernel/sys.c.old 2002-11-26 14:57:54.000000000 +0100
+++ linux-2.5.49-ac/kernel/sys.c 2002-11-26 14:58:14.000000000 +0100
@@ -22,6 +22,7 @@
#include <linux/security.h>
#include <linux/dcookies.h>
#include <linux/unistd.h>
+#include <linux/suspend.h>
#include <asm/uaccess.h>
#include <asm/io.h>
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
prev parent reply other threads:[~2002-11-26 13:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-25 23:52 Linux 2.5.49-ac1 Alan Cox
2002-11-26 0:19 ` Russell King
2002-11-26 3:55 ` Tomas Szepe
2002-11-26 11:54 ` Alan Cox
2002-11-26 11:56 ` Tomas Szepe
2002-11-26 12:20 ` PATCH: fix sis_apic fix (was Re: Linux 2.5.49-ac1) Alan Cox
2002-11-26 5:01 ` Linux 2.5.49-ac1 - mouse and keyboard issues Murray J. Root
2002-11-26 13:59 ` Adrian Bunk [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=20021126135929.GP24796@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=alan@redhat.com \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
/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.