Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b15fac8d
Commit
b15fac8d
authored
Aug 01, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SPARC: Move sun_do_break from serial layer into arch code.
parent
01a42780
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
24 deletions
+14
-24
arch/sparc64/kernel/setup.c
arch/sparc64/kernel/setup.c
+11
-0
arch/sparc64/kernel/sparc64_ksyms.c
arch/sparc64/kernel/sparc64_ksyms.c
+1
-2
drivers/serial/suncore.c
drivers/serial/suncore.c
+0
-20
drivers/serial/suncore.h
drivers/serial/suncore.h
+0
-2
include/asm-sparc64/system.h
include/asm-sparc64/system.h
+2
-0
No files found.
arch/sparc64/kernel/setup.c
View file @
b15fac8d
...
@@ -690,3 +690,14 @@ struct seq_operations cpuinfo_op = {
...
@@ -690,3 +690,14 @@ struct seq_operations cpuinfo_op = {
.
stop
=
c_stop
,
.
stop
=
c_stop
,
.
show
=
show_cpuinfo
,
.
show
=
show_cpuinfo
,
};
};
void
sun_do_break
(
void
)
{
if
(
!
stop_a_enabled
)
return
;
printk
(
"
\n
"
);
flush_user_windows
();
prom_cmdline
();
}
arch/sparc64/kernel/sparc64_ksyms.c
View file @
b15fac8d
...
@@ -362,9 +362,8 @@ void VISenter(void);
...
@@ -362,9 +362,8 @@ void VISenter(void);
/* RAID code needs this */
/* RAID code needs this */
EXPORT_SYMBOL_NOVERS
(
VISenter
);
EXPORT_SYMBOL_NOVERS
(
VISenter
);
extern
void
batten_down_hatches
(
void
);
/* for input/keybdev */
/* for input/keybdev */
EXPORT_SYMBOL
(
batten_down_hatches
);
EXPORT_SYMBOL
(
sun_do_break
);
#ifdef CONFIG_DEBUG_BUGVERBOSE
#ifdef CONFIG_DEBUG_BUGVERBOSE
EXPORT_SYMBOL
(
do_BUG
);
EXPORT_SYMBOL
(
do_BUG
);
...
...
drivers/serial/suncore.c
View file @
b15fac8d
...
@@ -141,26 +141,6 @@ sunserial_console_termios(struct console *con)
...
@@ -141,26 +141,6 @@ sunserial_console_termios(struct console *con)
EXPORT_SYMBOL
(
sunserial_console_termios
);
EXPORT_SYMBOL
(
sunserial_console_termios
);
void
sun_do_break
(
void
)
{
if
(
!
stop_a_enabled
)
return
;
printk
(
"
\n
"
);
flush_user_windows
();
#ifndef CONFIG_SPARC64
if
((
unsigned
long
)
linux_dbvec
>=
DEBUG_FIRSTVADDR
&&
(
unsigned
long
)
linux_dbvec
<=
DEBUG_LASTVADDR
)
sp_enter_debugger
();
else
#endif
prom_cmdline
();
}
EXPORT_SYMBOL
(
sun_do_break
);
/* Sun serial MOUSE auto baud rate detection. */
/* Sun serial MOUSE auto baud rate detection. */
static
struct
mouse_baud_cflag
{
static
struct
mouse_baud_cflag
{
int
baud
;
int
baud
;
...
...
drivers/serial/suncore.h
View file @
b15fac8d
...
@@ -19,8 +19,6 @@
...
@@ -19,8 +19,6 @@
#define SUNKBD_UP 0x80
#define SUNKBD_UP 0x80
#define SUNKBD_A 0x4d
#define SUNKBD_A 0x4d
extern
void
sun_do_break
(
void
);
extern
unsigned
int
suncore_mouse_baud_cflag_next
(
unsigned
int
,
int
*
);
extern
unsigned
int
suncore_mouse_baud_cflag_next
(
unsigned
int
,
int
*
);
extern
int
suncore_mouse_baud_detection
(
unsigned
char
,
int
);
extern
int
suncore_mouse_baud_detection
(
unsigned
char
,
int
);
...
...
include/asm-sparc64/system.h
View file @
b15fac8d
...
@@ -120,6 +120,8 @@ enum sparc_cpu {
...
@@ -120,6 +120,8 @@ enum sparc_cpu {
#ifndef __ASSEMBLY__
#ifndef __ASSEMBLY__
extern
void
sun_do_break
(
void
);
extern
void
synchronize_user_stack
(
void
);
extern
void
synchronize_user_stack
(
void
);
extern
void
__flushw_user
(
void
);
extern
void
__flushw_user
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment