Re: -mm: PM=y, VT=n doesn't compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux