projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libata: add deadline support to prereset and reset methods
[powerpc.git]
/
include
/
linux
/
console_struct.h
diff --git
a/include/linux/console_struct.h
b/include/linux/console_struct.h
index
f8e5587
..
a86162b
100644
(file)
--- a/
include/linux/console_struct.h
+++ b/
include/linux/console_struct.h
@@
-9,7
+9,9
@@
* to achieve effects such as fast scrolling by changing the origin.
*/
* to achieve effects such as fast scrolling by changing the origin.
*/
+#include <linux/wait.h>
#include <linux/vt.h>
#include <linux/vt.h>
+#include <linux/workqueue.h>
struct vt_struct;
struct vt_struct;
@@
-53,7
+55,7
@@
struct vc_data {
struct tty_struct *vc_tty; /* TTY we are attached to */
/* data for manual vt switching */
struct vt_mode vt_mode;
struct tty_struct *vc_tty; /* TTY we are attached to */
/* data for manual vt switching */
struct vt_mode vt_mode;
-
int
vt_pid;
+
struct pid *
vt_pid;
int vt_newvt;
wait_queue_head_t paste_wait;
/* mode flags */
int vt_newvt;
wait_queue_head_t paste_wait;
/* mode flags */
@@
-102,6
+104,7
@@
struct vc_data {
struct vc {
struct vc_data *d;
struct vc {
struct vc_data *d;
+ struct work_struct SAK_work;
/* might add scrmem, vt_struct, kbd at some time,
to have everything in one place - the disadvantage
/* might add scrmem, vt_struct, kbd at some time,
to have everything in one place - the disadvantage
@@
-109,6
+112,7
@@
struct vc {
};
extern struct vc vc_cons [MAX_NR_CONSOLES];
};
extern struct vc vc_cons [MAX_NR_CONSOLES];
+extern void vc_SAK(struct work_struct *work);
#define CUR_DEF 0
#define CUR_NONE 1
#define CUR_DEF 0
#define CUR_NONE 1