From: Pavel Machek <pavel@suse.cz>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Andrew Morton <akpm@osdl.org>,
bunk@stusta.de, linux-kernel@vger.kernel.org
Subject: Re: -mm: PM=y, VT=n doesn't compile
Date: Sun, 19 Mar 2006 19:47:54 +0100 [thread overview]
Message-ID: <20060319184754.GD3550@elf.ucw.cz> (raw)
In-Reply-To: <200603182128.02955.rjw@sisk.pl>
Hi!
> OK, here they go.
ACK.
> Index: linux-2.6.16-rc6-mm2/include/linux/vt_kern.h
> ===================================================================
> --- linux-2.6.16-rc6-mm2.orig/include/linux/vt_kern.h
> +++ linux-2.6.16-rc6-mm2/include/linux/vt_kern.h
> @@ -73,6 +73,11 @@ int con_copy_unimap(struct vc_data *dst_
> int vt_waitactive(int vt);
> void change_console(struct vc_data *new_vc);
> void reset_vc(struct vc_data *vc);
> +#ifdef CONFIG_VT
> +int is_console_suspend_safe(void);
I guess I'd just do static inline ... and put code here, but both
versions are okay.
> +#else
> +static inline int is_console_suspend_safe(void) { return 1; }
> +#endif
>
> /*
> * vc_screen.c shares this temporary buffer with the console write code so that
--
42: i < SampleTable.Length;
prev parent reply other threads:[~2006-03-20 8:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-17 17:18 -mm: PM=y, VT=n doesn't compile Adrian Bunk
2006-03-18 1:50 ` Andrew Morton
2006-03-18 19:34 ` Rafael J. Wysocki
2006-03-18 16:04 ` Rafael J. Wysocki
2006-03-18 19:48 ` Andrew Morton
2006-03-18 19:58 ` Rafael J. Wysocki
2006-03-18 20:28 ` Rafael J. Wysocki
2006-03-19 18:47 ` Pavel Machek [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=20060319184754.GD3550@elf.ucw.cz \
--to=pavel@suse.cz \
--cc=akpm@osdl.org \
--cc=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
/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