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
87384119
Commit
87384119
authored
Feb 23, 2004
by
Keith M. Wesolowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC32]: Small SMP build fixes
parent
be758139
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
arch/sparc/kernel/sparc_ksyms.c
arch/sparc/kernel/sparc_ksyms.c
+0
-1
arch/sparc/kernel/trampoline.S
arch/sparc/kernel/trampoline.S
+1
-0
arch/sparc/mm/nosun4c.c
arch/sparc/mm/nosun4c.c
+5
-0
include/asm-sparc/system.h
include/asm-sparc/system.h
+1
-1
No files found.
arch/sparc/kernel/sparc_ksyms.c
View file @
87384119
...
@@ -157,7 +157,6 @@ EXPORT_SYMBOL(___change_bit);
...
@@ -157,7 +157,6 @@ EXPORT_SYMBOL(___change_bit);
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
/* IRQ implementation. */
/* IRQ implementation. */
EXPORT_SYMBOL
(
global_irq_holder
);
EXPORT_SYMBOL
(
synchronize_irq
);
EXPORT_SYMBOL
(
synchronize_irq
);
/* Misc SMP information */
/* Misc SMP information */
...
...
arch/sparc/kernel/trampoline.S
View file @
87384119
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
#include <asm/ptrace.h>
#include <asm/ptrace.h>
#include <asm/vaddrs.h>
#include <asm/vaddrs.h>
#include <asm/contregs.h>
#include <asm/contregs.h>
#include <asm/thread_info.h>
.
globl
sun4m_cpu_startup
,
__smp4m_processor_id
.
globl
sun4m_cpu_startup
,
__smp4m_processor_id
.
globl
sun4d_cpu_startup
,
__smp4d_processor_id
.
globl
sun4d_cpu_startup
,
__smp4d_processor_id
...
...
arch/sparc/mm/nosun4c.c
View file @
87384119
...
@@ -57,6 +57,11 @@ pte_t *sun4c_pte_offset(pmd_t * dir, unsigned long address)
...
@@ -57,6 +57,11 @@ pte_t *sun4c_pte_offset(pmd_t * dir, unsigned long address)
return
NULL
;
return
NULL
;
}
}
pte_t
*
sun4c_pte_offset_kernel
(
pmd_t
*
dir
,
unsigned
long
address
)
{
return
NULL
;
}
void
sun4c_update_mmu_cache
(
struct
vm_area_struct
*
vma
,
unsigned
long
address
,
pte_t
pte
)
void
sun4c_update_mmu_cache
(
struct
vm_area_struct
*
vma
,
unsigned
long
address
,
pte_t
pte
)
{
{
}
}
...
...
include/asm-sparc/system.h
View file @
87384119
...
@@ -75,7 +75,7 @@ extern void fpsave(unsigned long *fpregs, unsigned long *fsr,
...
@@ -75,7 +75,7 @@ extern void fpsave(unsigned long *fpregs, unsigned long *fsr,
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
#define SWITCH_ENTER(prv) \
#define SWITCH_ENTER(prv) \
do { \
do { \
if (test_tsk_thread_flag(prv, TIF_USEDFPU) { \
if (test_tsk_thread_flag(prv, TIF_USEDFPU)
)
{ \
put_psr(get_psr() | PSR_EF); \
put_psr(get_psr() | PSR_EF); \
fpsave(&(prv)->thread.float_regs[0], &(prv)->thread.fsr, \
fpsave(&(prv)->thread.float_regs[0], &(prv)->thread.fsr, \
&(prv)->thread.fpqueue[0], &(prv)->thread.fpqdepth); \
&(prv)->thread.fpqueue[0], &(prv)->thread.fpqdepth); \
...
...
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