Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6

* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6:
avr32: nmi_enter() without nmi_exit()
avr32: fix sys_sync_file_range() call convention
avr32: add generic_find_next_le_bit bit function
avr32: add .gitignore files
atstk1000: fix build breakage with BOARD_ATSTK100X_SW2_CUSTOM=y

+51 -6
+1 -1
arch/avr32/boards/atstk1000/atstk1002.c
··· 325 325 #ifdef CONFIG_BOARD_ATSTK100X_SPI1 326 326 at32_add_device_spi(1, spi1_board_info, ARRAY_SIZE(spi1_board_info)); 327 327 #endif 328 - #ifndef CONFIG_BOARD_ATSTK1002_SW2_CUSTOM 328 + #ifndef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM 329 329 at32_add_device_mci(0, MCI_PDATA); 330 330 #endif 331 331 #ifdef CONFIG_BOARD_ATSTK1002_SW5_CUSTOM
+4
arch/avr32/boot/images/.gitignore
··· 1 + uImage 2 + uImage.srec 3 + vmlinux.cso 4 + sfdwarf.log
+1
arch/avr32/kernel/.gitignore
··· 1 + vmlinux.lds
+1
arch/avr32/kernel/avr32_ksyms.c
··· 58 58 EXPORT_SYMBOL(find_next_zero_bit); 59 59 EXPORT_SYMBOL(find_first_bit); 60 60 EXPORT_SYMBOL(find_next_bit); 61 + EXPORT_SYMBOL(generic_find_next_le_bit); 61 62 EXPORT_SYMBOL(generic_find_next_zero_le_bit); 62 63 63 64 /* I/O primitives (lib/io-*.S) */
+9
arch/avr32/kernel/syscall-stubs.S
··· 109 109 rcall sys_epoll_pwait 110 110 sub sp, -4 111 111 popm pc 112 + 113 + .global __sys_sync_file_range 114 + .type __sys_sync_file_range,@function 115 + __sys_sync_file_range: 116 + pushm lr 117 + st.w --sp, ARG6 118 + rcall sys_sync_file_range 119 + sub sp, -4 120 + popm pc
+1 -1
arch/avr32/kernel/syscall_table.S
··· 275 275 .long sys_set_robust_list 276 276 .long sys_get_robust_list /* 260 */ 277 277 .long __sys_splice 278 - .long sys_sync_file_range 278 + .long __sys_sync_file_range 279 279 .long sys_tee 280 280 .long sys_vmsplice 281 281 .long __sys_epoll_pwait /* 265 */
+4 -4
arch/avr32/kernel/traps.c
··· 116 116 switch (ret) { 117 117 case NOTIFY_OK: 118 118 case NOTIFY_STOP: 119 - return; 119 + break; 120 120 case NOTIFY_BAD: 121 121 die("Fatal Non-Maskable Interrupt", regs, SIGINT); 122 122 default: 123 + printk(KERN_ALERT "Got NMI, but nobody cared. Disabling...\n"); 124 + nmi_disable(); 123 125 break; 124 126 } 125 - 126 - printk(KERN_ALERT "Got NMI, but nobody cared. Disabling...\n"); 127 - nmi_disable(); 127 + nmi_exit(); 128 128 } 129 129 130 130 asmlinkage void do_critical_exception(unsigned long ecr, struct pt_regs *regs)
+30
arch/avr32/lib/findbit.S
··· 123 123 brgt 1b 124 124 retal r11 125 125 126 + ENTRY(generic_find_next_le_bit) 127 + lsr r8, r10, 5 128 + sub r9, r11, r10 129 + retle r11 130 + 131 + lsl r8, 2 132 + add r12, r8 133 + andl r10, 31, COH 134 + breq 1f 135 + 136 + /* offset is not word-aligned. Handle the first (32 - r10) bits */ 137 + ldswp.w r8, r12[0] 138 + sub r12, -4 139 + lsr r8, r8, r10 140 + brne .L_found 141 + 142 + /* r9 = r9 - (32 - r10) = r9 + r10 - 32 */ 143 + add r9, r10 144 + sub r9, 32 145 + retle r11 146 + 147 + /* Main loop. offset must be word-aligned */ 148 + 1: ldswp.w r8, r12[0] 149 + cp.w r8, 0 150 + brne .L_found 151 + sub r12, -4 152 + sub r9, 32 153 + brgt 1b 154 + retal r11 155 + 126 156 ENTRY(generic_find_next_zero_le_bit) 127 157 lsr r8, r10, 5 128 158 sub r9, r11, r10