Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47519
b: refs/heads/master
c: 1b13543
h: refs/heads/master
i:
  47517: 5ad307a
  47515: 6fd3a23
  47511: e78b2a2
  47503: 0046bec
  47487: 167bc34
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Feb 11, 2007
1 parent c1167dd commit 14dbc67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 57a87bb0720a5cf7a9ece49a8c8ed288398fd1bb
refs/heads/master: 1b135431abf5ea92e61bf4e91d93726c7b96da5f
3 changes: 0 additions & 3 deletions trunk/drivers/char/vt.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ const struct consw *conswitchp;
#define DEFAULT_BELL_PITCH 750
#define DEFAULT_BELL_DURATION (HZ/8)

extern void vcs_make_sysfs(struct tty_struct *tty);
extern void vcs_remove_sysfs(struct tty_struct *tty);

struct vc vc_cons [MAX_NR_CONSOLES];

#ifndef VT_SINGLE_DRIVER
Expand Down
4 changes: 4 additions & 0 deletions trunk/include/linux/console.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ struct vc_data;
struct console_font_op;
struct console_font;
struct module;
struct tty_struct;

/*
* this is what the terminal answers to a ESC-Z or csi0c query.
Expand Down Expand Up @@ -132,6 +133,9 @@ static inline void resume_console(void) {}
int mda_console_init(void);
void prom_con_init(void);

void vcs_make_sysfs(struct tty_struct *tty);
void vcs_remove_sysfs(struct tty_struct *tty);

/* Some debug stub to catch some of the obvious races in the VT code */
#if 1
#define WARN_CONSOLE_UNLOCKED() WARN_ON(!is_console_locked() && !oops_in_progress)
Expand Down

0 comments on commit 14dbc67

Please sign in to comment.