Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235198
b: refs/heads/master
c: 954e8b9
h: refs/heads/master
v: v3
  • Loading branch information
Michal Simek committed Mar 9, 2011
1 parent 89172a6 commit 498389a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8afe3839a993beda2ebc119c0a545dcc5baecc08
refs/heads/master: 954e8b9599d64a959fe81cfaa8b0e0ee6387271c
12 changes: 6 additions & 6 deletions trunk/arch/microblaze/kernel/cpu/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ static void __flush_dcache_range_wb(unsigned long start, unsigned long end)
struct scache *mbc;

/* new wb cache model */
const struct scache wb_msr = {
static const struct scache wb_msr = {
.ie = __enable_icache_msr,
.id = __disable_icache_msr,
.ifl = __flush_icache_all_noirq,
Expand All @@ -535,7 +535,7 @@ const struct scache wb_msr = {
};

/* There is only difference in ie, id, de, dd functions */
const struct scache wb_nomsr = {
static const struct scache wb_nomsr = {
.ie = __enable_icache_nomsr,
.id = __disable_icache_nomsr,
.ifl = __flush_icache_all_noirq,
Expand All @@ -551,7 +551,7 @@ const struct scache wb_nomsr = {
};

/* Old wt cache model with disabling irq and turn off cache */
const struct scache wt_msr = {
static const struct scache wt_msr = {
.ie = __enable_icache_msr,
.id = __disable_icache_msr,
.ifl = __flush_icache_all_msr_irq,
Expand All @@ -566,7 +566,7 @@ const struct scache wt_msr = {
.dinr = __invalidate_dcache_range_msr_irq_wt,
};

const struct scache wt_nomsr = {
static const struct scache wt_nomsr = {
.ie = __enable_icache_nomsr,
.id = __disable_icache_nomsr,
.ifl = __flush_icache_all_nomsr_irq,
Expand All @@ -582,7 +582,7 @@ const struct scache wt_nomsr = {
};

/* New wt cache model for newer Microblaze versions */
const struct scache wt_msr_noirq = {
static const struct scache wt_msr_noirq = {
.ie = __enable_icache_msr,
.id = __disable_icache_msr,
.ifl = __flush_icache_all_noirq,
Expand All @@ -597,7 +597,7 @@ const struct scache wt_msr_noirq = {
.dinr = __invalidate_dcache_range_nomsr_wt,
};

const struct scache wt_nomsr_noirq = {
static const struct scache wt_nomsr_noirq = {
.ie = __enable_icache_nomsr,
.id = __disable_icache_nomsr,
.ifl = __flush_icache_all_noirq,
Expand Down

0 comments on commit 498389a

Please sign in to comment.