Merge branches 'sh-fixes-for-linus' and 'rmobile-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6

* 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
sh: intc: Fix up build failure introduced by radix tree changes.
MAINTAINERS: update the sh git tree entry.
sh: clkfwk: fix up compiler warnings.
sh: intc: Fix up initializers for gcc 4.5.
rtc: rtc-sh - fix a memory leak

* 'rmobile-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
ARM: mach-shmobile: ap4evb: add fsib 44100Hz rate
MAINTAINERS: update the ARM SH-Mobile git tree entry.
ARM: mach-shmobile: ap4evb: Mark NOR boot loader partitions read-only.
ARM: mach-shmobile: intc-sh7372: fix interrupt number

+15 -9
+2 -2
MAINTAINERS
··· 945 945 L: linux-sh@vger.kernel.org 946 946 W: http://oss.renesas.com 947 947 Q: http://patchwork.kernel.org/project/linux-sh/list/ 948 - T: git git://git.kernel.org/pub/scm/linux/kernel/git/lethal/genesis-2.6.git 948 + T: git git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.git rmobile-latest 949 949 S: Supported 950 950 F: arch/arm/mach-shmobile/ 951 951 F: drivers/sh/ ··· 5705 5705 L: linux-sh@vger.kernel.org 5706 5706 W: http://www.linux-sh.org 5707 5707 Q: http://patchwork.kernel.org/project/linux-sh/list/ 5708 - T: git git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.git 5708 + T: git git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.git sh-latest 5709 5709 S: Supported 5710 5710 F: Documentation/sh/ 5711 5711 F: arch/sh/
+6
arch/arm/mach-shmobile/board-ap4evb.c
··· 163 163 .name = "loader", 164 164 .offset = 0x00000000, 165 165 .size = 512 * 1024, 166 + .mask_flags = MTD_WRITEABLE, 166 167 }, 167 168 { 168 169 .name = "bootenv", 169 170 .offset = MTDPART_OFS_APPEND, 170 171 .size = 512 * 1024, 172 + .mask_flags = MTD_WRITEABLE, 171 173 }, 172 174 { 173 175 .name = "kernel_ro", ··· 583 581 return -EINVAL; 584 582 585 583 switch (rate) { 584 + case 44100: 585 + clk_set_rate(fsib_clk, clk_round_rate(fsib_clk, 11283000)); 586 + ret = SH_FSI_ACKMD_256 | SH_FSI_BPFMD_64; 587 + break; 586 588 case 48000: 587 589 clk_set_rate(fsib_clk, clk_round_rate(fsib_clk, 85428000)); 588 590 clk_set_rate(fdiv_clk, clk_round_rate(fdiv_clk, 12204000));
+1 -1
arch/arm/mach-shmobile/intc-sh7372.c
··· 98 98 INTC_VECT(IRQ14A, 0x03c0), INTC_VECT(IRQ15A, 0x03e0), 99 99 INTC_VECT(IRQ16A, 0x3200), INTC_VECT(IRQ17A, 0x3220), 100 100 INTC_VECT(IRQ18A, 0x3240), INTC_VECT(IRQ19A, 0x3260), 101 - INTC_VECT(IRQ20A, 0x3280), INTC_VECT(IRQ31A, 0x32a0), 101 + INTC_VECT(IRQ20A, 0x3280), INTC_VECT(IRQ21A, 0x32a0), 102 102 INTC_VECT(IRQ22A, 0x32c0), INTC_VECT(IRQ23A, 0x32e0), 103 103 INTC_VECT(IRQ24A, 0x3300), INTC_VECT(IRQ25A, 0x3320), 104 104 INTC_VECT(IRQ26A, 0x3340), INTC_VECT(IRQ27A, 0x3360),
+2 -2
drivers/rtc/rtc-sh.c
··· 761 761 clk_put(rtc->clk); 762 762 iounmap(rtc->regbase); 763 763 err_badmap: 764 - release_resource(rtc->res); 764 + release_mem_region(rtc->res->start, rtc->regsize); 765 765 err_badres: 766 766 kfree(rtc); 767 767 ··· 786 786 } 787 787 788 788 iounmap(rtc->regbase); 789 - release_resource(rtc->res); 789 + release_mem_region(rtc->res->start, rtc->regsize); 790 790 791 791 clk_disable(rtc->clk); 792 792 clk_put(rtc->clk);
+2 -2
drivers/sh/clk/core.c
··· 571 571 *best_freq = freq_max; 572 572 } 573 573 574 - pr_debug("too low freq %lu, error %lu\n", freq->frequency, 574 + pr_debug("too low freq %u, error %lu\n", freq->frequency, 575 575 target - freq_max); 576 576 577 577 if (!error) ··· 591 591 *best_freq = freq_min; 592 592 } 593 593 594 - pr_debug("too high freq %lu, error %lu\n", freq->frequency, 594 + pr_debug("too high freq %u, error %lu\n", freq->frequency, 595 595 freq_min - target); 596 596 597 597 if (!error)
+1 -1
drivers/sh/intc/virq.c
··· 215 215 entry = radix_tree_deref_slot((void **)entries[i]); 216 216 if (unlikely(!entry)) 217 217 continue; 218 - if (unlikely(entry == RADIX_TREE_RETRY)) 218 + if (radix_tree_deref_retry(entry)) 219 219 goto restart; 220 220 221 221 irq = create_irq();
+1 -1
include/linux/sh_intc.h
··· 79 79 unsigned int nr_subgroups; 80 80 }; 81 81 82 - #define _INTC_ARRAY(a) a, a == NULL ? 0 : sizeof(a)/sizeof(*a) 82 + #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) 83 83 84 84 #define INTC_HW_DESC(vectors, groups, mask_regs, \ 85 85 prio_regs, sense_regs, ack_regs) \