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
5f8b1178
Commit
5f8b1178
authored
Nov 03, 2005
by
Russell King
Committed by
Russell King
Nov 03, 2005
Browse files
Options
Browse Files
Download
Plain Diff
[ARM] Merge SMP tree
parents
24bcc2f4
7e5e6e9a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
2 deletions
+16
-2
arch/arm/Makefile
arch/arm/Makefile
+1
-0
arch/arm/lib/bitops.h
arch/arm/lib/bitops.h
+1
-1
arch/arm/mm/Kconfig
arch/arm/mm/Kconfig
+12
-0
include/asm-arm/mmu_context.h
include/asm-arm/mmu_context.h
+2
-1
No files found.
arch/arm/Makefile
View file @
5f8b1178
...
...
@@ -38,6 +38,7 @@ comma = ,
# macro, but instead defines a whole series of macros which makes
# testing for a specific architecture or later rather impossible.
arch-$(CONFIG_CPU_32v6)
:=
-D__LINUX_ARM_ARCH__
=
6
$(
call
cc-option,-march
=
armv6,-march
=
armv5t
-Wa
$(comma)
-march
=
armv6
)
arch-$(CONFIG_CPU_32v6K)
:=
-D__LINUX_ARM_ARCH__
=
6
$(
call
cc-option,-march
=
armv6k,-march
=
armv5t
-Wa
$(comma)
-march
=
armv6k
)
arch-$(CONFIG_CPU_32v5)
:=
-D__LINUX_ARM_ARCH__
=
5
$(
call
cc-option,-march
=
armv5te,-march
=
armv4
)
arch-$(CONFIG_CPU_32v4)
:=
-D__LINUX_ARM_ARCH__
=
4
-march
=
armv4
arch-$(CONFIG_CPU_32v3)
:=
-D__LINUX_ARM_ARCH__
=
3
-march
=
armv3
...
...
arch/arm/lib/bitops.h
View file @
5f8b1178
#include <linux/config.h>
#if __LINUX_ARM_ARCH__ >= 6 && defined(CONFIG_CPU_
MPCORE
)
#if __LINUX_ARM_ARCH__ >= 6 && defined(CONFIG_CPU_
32v6K
)
.
macro
bitop
,
instr
mov
r2
,
#
1
and
r3
,
r0
,
#
7
@
Get
bit
offset
...
...
arch/arm/mm/Kconfig
View file @
5f8b1178
...
...
@@ -250,6 +250,18 @@ config CPU_V6
select CPU_COPY_V6
select CPU_TLB_V6
# ARMv6k
config CPU_32v6K
bool "Support ARM V6K processor extensions" if !SMP
depends on CPU_V6
default y if SMP
help
Say Y here if your ARMv6 processor supports the 'K' extension.
This enables the kernel to use some instructions not present
on previous processors, and as such a kernel build with this
enabled will not boot on processors with do not support these
instructions.
# Figure out what processor architecture version we should be using.
# This defines the compiler instruction set which depends on the machine type.
config CPU_32v3
...
...
include/asm-arm/mmu_context.h
View file @
5f8b1178
...
...
@@ -86,7 +86,8 @@ switch_mm(struct mm_struct *prev, struct mm_struct *next,
cpu_set
(
cpu
,
next
->
cpu_vm_mask
);
check_context
(
next
);
cpu_switch_mm
(
next
->
pgd
,
next
);
cpu_clear
(
cpu
,
prev
->
cpu_vm_mask
);
if
(
cache_is_vivt
())
cpu_clear
(
cpu
,
prev
->
cpu_vm_mask
);
}
}
...
...
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