lkml.org 
[lkml]   [2009]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/5] Add setter/getter interface for kmsg_redirect
> +int vt_get_kmsg_redirect(void)
> +{
> + return kmsg_redirect;
> +}

Explain the locking rules

> +#ifdef CONFIG_VT_CONSOLE
> +
> +extern void vt_set_kmsg_redirect(int vt);
> +extern int vt_get_kmsg_redirect(void);

Just make them extern inline, its a one liner.


\
 
 \ /
  Last update: 2009-10-11 01:05    [W:0.080 / U:16.420 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site