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
a1f55113
Commit
a1f55113
authored
Oct 15, 2009
by
Michal Simek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
microblaze: Move cache macro from cache.h to cacheflush.h
Signed-off-by:
Michal Simek
<
monstr@monstr.eu
>
parent
6a8dfe1c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
16 deletions
+18
-16
arch/microblaze/include/asm/cache.h
arch/microblaze/include/asm/cache.h
+0
-16
arch/microblaze/include/asm/cacheflush.h
arch/microblaze/include/asm/cacheflush.h
+17
-0
arch/microblaze/kernel/process.c
arch/microblaze/kernel/process.c
+1
-0
No files found.
arch/microblaze/include/asm/cache.h
View file @
a1f55113
...
...
@@ -21,20 +21,4 @@
#define SMP_CACHE_BYTES L1_CACHE_BYTES
void
_enable_icache
(
void
);
void
_disable_icache
(
void
);
void
_invalidate_icache
(
unsigned
int
addr
);
#define __enable_icache() _enable_icache()
#define __disable_icache() _disable_icache()
#define __invalidate_icache(addr) _invalidate_icache(addr)
void
_enable_dcache
(
void
);
void
_disable_dcache
(
void
);
void
_invalidate_dcache
(
unsigned
int
addr
);
#define __enable_dcache() _enable_dcache()
#define __disable_dcache() _disable_dcache()
#define __invalidate_dcache(addr) _invalidate_dcache(addr)
#endif
/* _ASM_MICROBLAZE_CACHE_H */
arch/microblaze/include/asm/cacheflush.h
View file @
a1f55113
...
...
@@ -65,6 +65,23 @@
#define flush_cache_vmap(start, end) do { } while (0)
#define flush_cache_vunmap(start, end) do { } while (0)
void
_enable_icache
(
void
);
void
_disable_icache
(
void
);
void
_invalidate_icache
(
unsigned
int
addr
);
#define __enable_icache() _enable_icache()
#define __disable_icache() _disable_icache()
#define __invalidate_icache(addr) _invalidate_icache(addr)
void
_enable_dcache
(
void
);
void
_disable_dcache
(
void
);
void
_invalidate_dcache
(
unsigned
int
addr
);
#define __enable_dcache() _enable_dcache()
#define __disable_dcache() _disable_dcache()
#define __invalidate_dcache(addr) _invalidate_dcache(addr)
struct
page
;
struct
mm_struct
;
struct
vm_area_struct
;
...
...
arch/microblaze/kernel/process.c
View file @
a1f55113
...
...
@@ -15,6 +15,7 @@
#include <linux/bitops.h>
#include <asm/system.h>
#include <asm/pgalloc.h>
#include <asm/cacheflush.h>
void
show_regs
(
struct
pt_regs
*
regs
)
{
...
...
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