Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
2fedaacd
Commit
2fedaacd
authored
May 09, 2009
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Cleanup irqflags size mismatch on
SH-5
build.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
e9e8b1fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
arch/sh/mm/cache-sh5.c
arch/sh/mm/cache-sh5.c
+4
-4
No files found.
arch/sh/mm/cache-sh5.c
View file @
2fedaacd
...
@@ -60,7 +60,7 @@ static inline void sh64_teardown_dtlb_cache_slot(void)
...
@@ -60,7 +60,7 @@ static inline void sh64_teardown_dtlb_cache_slot(void)
static
inline
void
sh64_icache_inv_all
(
void
)
static
inline
void
sh64_icache_inv_all
(
void
)
{
{
unsigned
long
long
addr
,
flag
,
data
;
unsigned
long
long
addr
,
flag
,
data
;
unsigned
int
flags
;
unsigned
long
flags
;
addr
=
ICCR0
;
addr
=
ICCR0
;
flag
=
ICCR0_ICI
;
flag
=
ICCR0_ICI
;
...
@@ -172,7 +172,7 @@ static void sh64_icache_inv_user_page_range(struct mm_struct *mm,
...
@@ -172,7 +172,7 @@ static void sh64_icache_inv_user_page_range(struct mm_struct *mm,
unsigned
long
eaddr
;
unsigned
long
eaddr
;
unsigned
long
after_last_page_start
;
unsigned
long
after_last_page_start
;
unsigned
long
mm_asid
,
current_asid
;
unsigned
long
mm_asid
,
current_asid
;
unsigned
long
long
flags
=
0ULL
;
unsigned
long
flags
=
0
;
mm_asid
=
cpu_asid
(
smp_processor_id
(),
mm
);
mm_asid
=
cpu_asid
(
smp_processor_id
(),
mm
);
current_asid
=
get_asid
();
current_asid
=
get_asid
();
...
@@ -236,7 +236,7 @@ static void sh64_icache_inv_user_small_range(struct mm_struct *mm,
...
@@ -236,7 +236,7 @@ static void sh64_icache_inv_user_small_range(struct mm_struct *mm,
unsigned
long
long
eaddr
=
start
;
unsigned
long
long
eaddr
=
start
;
unsigned
long
long
eaddr_end
=
start
+
len
;
unsigned
long
long
eaddr_end
=
start
+
len
;
unsigned
long
current_asid
,
mm_asid
;
unsigned
long
current_asid
,
mm_asid
;
unsigned
long
long
flags
;
unsigned
long
flags
;
unsigned
long
long
epage_start
;
unsigned
long
long
epage_start
;
/*
/*
...
@@ -342,7 +342,7 @@ static void inline sh64_dcache_purge_sets(int sets_to_purge_base, int n_sets)
...
@@ -342,7 +342,7 @@ static void inline sh64_dcache_purge_sets(int sets_to_purge_base, int n_sets)
* alloco is a NOP if the cache is write-through.
* alloco is a NOP if the cache is write-through.
*/
*/
if
(
test_bit
(
SH_CACHE_MODE_WT
,
&
(
cpu_data
->
dcache
.
flags
)))
if
(
test_bit
(
SH_CACHE_MODE_WT
,
&
(
cpu_data
->
dcache
.
flags
)))
ctrl_inb
(
eaddr
);
__raw_readb
((
unsigned
long
)
eaddr
);
}
}
}
}
...
...
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