diff options
| -rw-r--r-- | arch/mips/alchemy/board-mtx1.c | 2 | ||||
| -rw-r--r-- | arch/mips/mm/c-r4k.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/alchemy/board-mtx1.c b/arch/mips/alchemy/board-mtx1.c index 4a9baa9f6330..9969dbab19e3 100644 --- a/arch/mips/alchemy/board-mtx1.c +++ b/arch/mips/alchemy/board-mtx1.c | |||
| @@ -276,7 +276,7 @@ static struct platform_device mtx1_pci_host = { | |||
| 276 | .resource = alchemy_pci_host_res, | 276 | .resource = alchemy_pci_host_res, |
| 277 | }; | 277 | }; |
| 278 | 278 | ||
| 279 | static struct __initdata platform_device * mtx1_devs[] = { | 279 | static struct platform_device *mtx1_devs[] __initdata = { |
| 280 | &mtx1_pci_host, | 280 | &mtx1_pci_host, |
| 281 | &mtx1_gpio_leds, | 281 | &mtx1_gpio_leds, |
| 282 | &mtx1_wdt, | 282 | &mtx1_wdt, |
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index 627883bc6d5f..bc6f96fcb529 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c | |||
| @@ -609,6 +609,7 @@ static void r4k_dma_cache_wback_inv(unsigned long addr, unsigned long size) | |||
| 609 | r4k_blast_scache(); | 609 | r4k_blast_scache(); |
| 610 | else | 610 | else |
| 611 | blast_scache_range(addr, addr + size); | 611 | blast_scache_range(addr, addr + size); |
| 612 | preempt_enable(); | ||
| 612 | __sync(); | 613 | __sync(); |
| 613 | return; | 614 | return; |
| 614 | } | 615 | } |
| @@ -650,6 +651,7 @@ static void r4k_dma_cache_inv(unsigned long addr, unsigned long size) | |||
| 650 | */ | 651 | */ |
| 651 | blast_inv_scache_range(addr, addr + size); | 652 | blast_inv_scache_range(addr, addr + size); |
| 652 | } | 653 | } |
| 654 | preempt_enable(); | ||
| 653 | __sync(); | 655 | __sync(); |
| 654 | return; | 656 | return; |
| 655 | } | 657 | } |
