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
ca49a601
Commit
ca49a601
authored
Jul 29, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-arm-smp
parents
5a90fa71
7ac5ae4b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletion
+9
-1
arch/arm/kernel/smp.c
arch/arm/kernel/smp.c
+1
-0
arch/arm/lib/bitops.h
arch/arm/lib/bitops.h
+1
-1
arch/arm/mach-integrator/platsmp.c
arch/arm/mach-integrator/platsmp.c
+2
-0
include/asm-arm/bitops.h
include/asm-arm/bitops.h
+5
-0
No files found.
arch/arm/kernel/smp.c
View file @
ca49a601
...
...
@@ -176,6 +176,7 @@ asmlinkage void __cpuinit secondary_start_kernel(void)
cpu_set
(
cpu
,
mm
->
cpu_vm_mask
);
cpu_switch_mm
(
mm
->
pgd
,
mm
);
enter_lazy_tlb
(
mm
,
current
);
local_flush_tlb_all
();
cpu_init
();
...
...
arch/arm/lib/bitops.h
View file @
ca49a601
...
...
@@ -7,7 +7,7 @@
1
:
ldrexb
r2
,
[
r1
]
\
instr
r2
,
r2
,
r3
strexb
r0
,
r2
,
[
r1
]
cmp
ne
r0
,
#
0
cmp
r0
,
#
0
bne
1
b
mov
pc
,
lr
.
endm
...
...
arch/arm/mach-integrator/platsmp.c
View file @
ca49a601
...
...
@@ -15,6 +15,7 @@
#include <linux/mm.h>
#include <asm/atomic.h>
#include <asm/cacheflush.h>
#include <asm/delay.h>
#include <asm/mmu_context.h>
#include <asm/procinfo.h>
...
...
@@ -80,6 +81,7 @@ int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle)
* "cpu" is Linux's internal ID.
*/
pen_release
=
cpu
;
flush_cache_all
();
/*
* XXX
...
...
include/asm-arm/bitops.h
View file @
ca49a601
...
...
@@ -229,6 +229,7 @@ extern int _find_next_zero_bit_be(const void * p, int size, int offset);
extern
int
_find_first_bit_be
(
const
unsigned
long
*
p
,
unsigned
size
);
extern
int
_find_next_bit_be
(
const
unsigned
long
*
p
,
int
size
,
int
offset
);
#ifndef CONFIG_SMP
/*
* The __* form of bitops are non-atomic and may be reordered.
*/
...
...
@@ -241,6 +242,10 @@ extern int _find_next_bit_be(const unsigned long *p, int size, int offset);
(__builtin_constant_p(nr) ? \
____atomic_##name(nr, p) : \
_##name##_be(nr,p))
#else
#define ATOMIC_BITOP_LE(name,nr,p) _##name##_le(nr,p)
#define ATOMIC_BITOP_BE(name,nr,p) _##name##_be(nr,p)
#endif
#define NONATOMIC_BITOP(name,nr,p) \
(____nonatomic_##name(nr, p))
...
...
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