Messages in this thread | | | Date | Sun, 19 Mar 2006 19:47:54 +0100 | From | Pavel Machek <> | Subject | Re: -mm: PM=y, VT=n doesn't compile |
| |
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; - 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/
| |