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
nexedi
linux
Commits
6421563d
Commit
6421563d
authored
Feb 09, 2002
by
David S. Miller
Committed by
David S. Miller
Feb 09, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up sparc64 build
parent
1588b7ef
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
2 deletions
+17
-2
arch/sparc64/kernel/etrap.S
arch/sparc64/kernel/etrap.S
+2
-2
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sparc32.c
+1
-0
arch/sparc64/lib/dec_and_lock.S
arch/sparc64/lib/dec_and_lock.S
+11
-0
include/asm-sparc64/hardirq.h
include/asm-sparc64/hardirq.h
+2
-0
include/asm-sparc64/thread_info.h
include/asm-sparc64/thread_info.h
+1
-0
No files found.
arch/sparc64/kernel/etrap.S
View file @
6421563d
...
...
@@ -30,12 +30,12 @@
#ifdef CONFIG_PREEMPT
etrap_irq
:
ldsw
[%
g6
+
TI_PRE_COUNT
],
%
g1
add
%
g1
,
1
,
%
g1
ba
,
pt
etrap_irq2
ba
,
pt
%
xcc
,
etrap_irq2
stw
%
g1
,
[%
g6
+
TI_PRE_COUNT
]
#endif
etrap
:
rdpr
%
pil
,
%
g2
!
Single
Group
#ifndef CONFIG_PREEMPT
etrap_irq
etrap_irq
:
#endif
etrap_irq2
:
rdpr
%
tstate
,
%
g1
!
Single
Group
sllx
%
g2
,
20
,
%
g3
!
IEU0
Group
...
...
arch/sparc64/kernel/sys_sparc32.c
View file @
6421563d
...
...
@@ -49,6 +49,7 @@
#include <linux/in.h>
#include <linux/icmpv6.h>
#include <linux/sysctl.h>
#include <linux/binfmts.h>
#include <asm/types.h>
#include <asm/ipc.h>
...
...
arch/sparc64/lib/dec_and_lock.S
View file @
6421563d
...
...
@@ -5,6 +5,7 @@
*
Copyright
(
C
)
2000
David
S
.
Miller
(
davem
@
redhat
.
com
)
*/
#include <linux/config.h>
#include <asm/thread_info.h>
#ifndef CONFIG_DEBUG_SPINLOCK
.
text
...
...
@@ -40,6 +41,11 @@ out:
membar
#
StoreLoad
|
#
StoreStore
retl
mov
%
g1
,
%
o0
#ifdef CONFIG_PREEMPT
ldsw
[%
g6
+
TI_PRE_COUNT
],
%
g3
add
%
g3
,
1
,
%
g3
stw
%
g3
,
[%
g6
+
TI_PRE_COUNT
]
#endif
to_zero
:
ldstub
[%
o1
],
%
g3
brnz
,
pn
%
g3
,
spin_on_lock
...
...
@@ -55,6 +61,11 @@ loop2: cas [%o0], %g5, %g7 /* ASSERT(g7 == 0) */
nop
membar
#
StoreStore
|
#
LoadStore
stb
%
g0
,
[%
o1
]
#ifdef CONFIG_PREEMPT
ldsw
[%
g6
+
TI_PRE_COUNT
],
%
g3
sub
%
g3
,
1
,
%
g3
stw
%
g3
,
[%
g6
+
TI_PRE_COUNT
]
#endif
b
,
pt
%
xcc
,
nzero
nop
...
...
include/asm-sparc64/hardirq.h
View file @
6421563d
...
...
@@ -56,6 +56,8 @@ typedef struct {
#define synchronize_irq() barrier()
#define release_irqlock(cpu) do { } while (0)
#else
/* (CONFIG_SMP) */
static
__inline__
int
irqs_running
(
void
)
...
...
include/asm-sparc64/thread_info.h
View file @
6421563d
...
...
@@ -27,6 +27,7 @@
#ifndef __ASSEMBLY__
#include <asm/ptrace.h>
#include <asm/types.h>
struct
task_struct
;
struct
exec_domain
;
...
...
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