sync hh.org
[hh.org.git] / arch / um / kernel / tt / gdb_kern.c
blob68e1bf63cd0ad2e453010bc384161dfb74e75699
1 /*
2 * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
4 */
6 #include "linux/init.h"
7 #include "mconsole_kern.h"
9 #ifdef CONFIG_MCONSOLE
11 extern int gdb_config(char *str);
12 extern int gdb_remove(int n);
14 static struct mc_device gdb_mc = {
15 .name = "gdb",
16 .config = gdb_config,
17 .remove = gdb_remove,
20 int gdb_mc_init(void)
22 mconsole_register_dev(&gdb_mc);
23 return(0);
26 __initcall(gdb_mc_init);
28 #endif
31 * Overrides for Emacs so that we follow Linus's tabbing style.
32 * Emacs will notice this stuff at the end of the file and automatically
33 * adjust the settings for this buffer only. This must remain at the end
34 * of the file.
35 * ---------------------------------------------------------------------------
36 * Local variables:
37 * c-file-style: "linux"
38 * End: