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
ade922f8
Commit
ade922f8
authored
Jul 25, 2013
by
Vineet Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARC: [ASID] Remove legacy/unused debug code
Signed-off-by:
Vineet Gupta
<
vgupta@synopsys.com
>
parent
c0857f5d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
arch/arc/include/asm/mmu.h
arch/arc/include/asm/mmu.h
+0
-3
arch/arc/include/asm/mmu_context.h
arch/arc/include/asm/mmu_context.h
+0
-11
No files found.
arch/arc/include/asm/mmu.h
View file @
ade922f8
...
@@ -49,9 +49,6 @@
...
@@ -49,9 +49,6 @@
typedef
struct
{
typedef
struct
{
unsigned
long
asid
;
/* Pvt Addr-Space ID for mm */
unsigned
long
asid
;
/* Pvt Addr-Space ID for mm */
#ifdef CONFIG_ARC_TLB_DBG
struct
task_struct
*
tsk
;
#endif
}
mm_context_t
;
}
mm_context_t
;
#ifdef CONFIG_ARC_DBG_TLB_PARANOIA
#ifdef CONFIG_ARC_DBG_TLB_PARANOIA
...
...
arch/arc/include/asm/mmu_context.h
View file @
ade922f8
...
@@ -114,14 +114,6 @@ static inline void get_new_mmu_context(struct mm_struct *mm)
...
@@ -114,14 +114,6 @@ static inline void get_new_mmu_context(struct mm_struct *mm)
asid_mm_map
[
asid_cache
]
=
mm
;
asid_mm_map
[
asid_cache
]
=
mm
;
mm
->
context
.
asid
=
asid_cache
;
mm
->
context
.
asid
=
asid_cache
;
#ifdef CONFIG_ARC_TLB_DBG
pr_info
(
"ARC_TLB_DBG: NewMM=0x%x OldMM=0x%x task_struct=0x%x Task: %s,"
" pid:%u, assigned asid:%lu
\n
"
,
(
unsigned
int
)
mm
,
(
unsigned
int
)
prev_owner
,
(
unsigned
int
)(
mm
->
context
.
tsk
),
(
mm
->
context
.
tsk
)
->
comm
,
(
mm
->
context
.
tsk
)
->
pid
,
mm
->
context
.
asid
);
#endif
write_aux_reg
(
ARC_REG_PID
,
asid_cache
|
MMU_ENABLE
);
write_aux_reg
(
ARC_REG_PID
,
asid_cache
|
MMU_ENABLE
);
local_irq_restore
(
flags
);
local_irq_restore
(
flags
);
...
@@ -135,9 +127,6 @@ static inline int
...
@@ -135,9 +127,6 @@ static inline int
init_new_context
(
struct
task_struct
*
tsk
,
struct
mm_struct
*
mm
)
init_new_context
(
struct
task_struct
*
tsk
,
struct
mm_struct
*
mm
)
{
{
mm
->
context
.
asid
=
NO_ASID
;
mm
->
context
.
asid
=
NO_ASID
;
#ifdef CONFIG_ARC_TLB_DBG
mm
->
context
.
tsk
=
tsk
;
#endif
return
0
;
return
0
;
}
}
...
...
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