linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thunder from the hill <thunder@ngforever.de>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Pavel Machek <pavel@ucw.cz>
Subject: SWSUSP in 2.5
Date: Wed, 17 Jul 2002 14:11:11 -0600 (MDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0207171402560.3452-100000@hawkeye.luckynet.adm> (raw)

Hi,

Compiling software suspend, I get the following warning:

suspend.c: In function `prepare_suspend_processes':
suspend.c:602: warning: implicit declaration of function `sys_sync'

The reasons seems, to me, that no header file ever talks about sys_sync, 
except for a small comment in include/linux/writeback.h. via-pmu uses it, 
too, they have their own prototype. It might be an idea to add this 
one-liner:

--- kernel/suspend.c~   Wed Jul 17 14:09:57 2002
+++ kernel/suspend.c    Wed Jul 17 14:10:17 2002
@@ -66,6 +66,7 @@
 #include <linux/swapops.h>
 
 extern void signal_wake_up(struct task_struct *t);
+extern int sys_sync(void);
 
 unsigned char software_suspend_enabled = 0;
 

							Regards,
							Thunder
-- 
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o?  K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y- 
------END GEEK CODE BLOCK------


                 reply	other threads:[~2002-07-17 20:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=Pine.LNX.4.44.0207171402560.3452-100000@hawkeye.luckynet.adm \
    --to=thunder@ngforever.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).