diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-10 17:43:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-10 17:43:37 -0400 |
commit | 897ee77bfba12b83752027427a41009961458ee6 (patch) | |
tree | 2caf21fd61ab29d5e5ac37e45ff70b55ceeff9c9 /arch/mips/mm | |
parent | f3f94ce5dba6e134cf0958dd3a42ab28a028fc83 (diff) | |
parent | 43863074659b71345b0047c2cf2ff8d8f7a4b4a1 (diff) |
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
[MIPS] Ocelot: remove remaining bits
[MIPS] TLB: Fix instruction bitmasks
[MIPS] R10000: Fix wrong test in dma-default.c
[MIPS] Provide empty irq_enable_hazard definition for legacy and R1 cores.
[MIPS] Sibyte: Remove broken dependency on EXPERIMENTAL from SIBYTE_SB1xxx_SOC.
[MIPS] Kconfig: whitespace cleanup.
[MIPS] PCI: Set need_domain_info if controller domain index is non-zero.
[MIPS] BCM1480: Fix computation of interrupt mask address register.
[MIPS] i8259: Add disable method.
[MIPS] tty: add the new ioctls and definitions.
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | arch/mips/mm/dma-default.c | 2 | ||||
-rw-r--r-- | arch/mips/mm/tlbex.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c index 76903c727647..f60b3dc0fc62 100644 --- a/arch/mips/mm/dma-default.c +++ b/arch/mips/mm/dma-default.c | |||
@@ -35,7 +35,7 @@ static inline unsigned long dma_addr_to_virt(dma_addr_t dma_addr) | |||
35 | static inline int cpu_is_noncoherent_r10000(struct device *dev) | 35 | static inline int cpu_is_noncoherent_r10000(struct device *dev) |
36 | { | 36 | { |
37 | return !plat_device_is_coherent(dev) && | 37 | return !plat_device_is_coherent(dev) && |
38 | (current_cpu_data.cputype == CPU_R10000 && | 38 | (current_cpu_data.cputype == CPU_R10000 || |
39 | current_cpu_data.cputype == CPU_R12000); | 39 | current_cpu_data.cputype == CPU_R12000); |
40 | } | 40 | } |
41 | 41 | ||
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index 4ec0964b8394..9cb39644b6f1 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c | |||
@@ -78,7 +78,7 @@ enum fields | |||
78 | SET = 0x200 | 78 | SET = 0x200 |
79 | }; | 79 | }; |
80 | 80 | ||
81 | #define OP_MASK 0x2f | 81 | #define OP_MASK 0x3f |
82 | #define OP_SH 26 | 82 | #define OP_SH 26 |
83 | #define RS_MASK 0x1f | 83 | #define RS_MASK 0x1f |
84 | #define RS_SH 21 | 84 | #define RS_SH 21 |
@@ -92,7 +92,7 @@ enum fields | |||
92 | #define IMM_SH 0 | 92 | #define IMM_SH 0 |
93 | #define JIMM_MASK 0x3ffffff | 93 | #define JIMM_MASK 0x3ffffff |
94 | #define JIMM_SH 0 | 94 | #define JIMM_SH 0 |
95 | #define FUNC_MASK 0x2f | 95 | #define FUNC_MASK 0x3f |
96 | #define FUNC_SH 0 | 96 | #define FUNC_SH 0 |
97 | #define SET_MASK 0x7 | 97 | #define SET_MASK 0x7 |
98 | #define SET_SH 0 | 98 | #define SET_SH 0 |