Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7651030 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
* 'for-linus' of git://www.atmel.no/~hskinnemoen/linux/kernel/avr32:
  AVR32: Add missing return instruction in __raw_writesb
  AVR32: Wire up sys_epoll_pwait
  AVR32: Fix thinko in generic_find_next_zero_le_bit()
  AVR32: Get rid of board_early_init
parents bee42f62 6af0f5f8
Loading
Loading
Loading
Loading
+0 −9
Original line number Original line Diff line number Diff line
@@ -21,15 +21,6 @@ struct tag *bootloader_tags __initdata;


struct lcdc_platform_data __initdata atstk1000_fb0_data;
struct lcdc_platform_data __initdata atstk1000_fb0_data;


asmlinkage void __init board_early_init(void)
{
	extern void sdram_init(void);

#ifdef CONFIG_LOADER_STANDALONE
	sdram_init();
#endif
}

void __init board_setup_fbmem(unsigned long fbmem_start,
void __init board_setup_fbmem(unsigned long fbmem_start,
			      unsigned long fbmem_size)
			      unsigned long fbmem_size)
{
{
+0 −3
Original line number Original line Diff line number Diff line
@@ -30,9 +30,6 @@ kernel_entry:
	mov	r7, 0
	mov	r7, 0
#endif
#endif


	/* Set up the PIO, SDRAM controller, early printk, etc. */
	rcall	board_early_init

	/* Start the show */
	/* Start the show */
	lddpc   pc, kernel_start_addr
	lddpc   pc, kernel_start_addr


+9 −0
Original line number Original line Diff line number Diff line
@@ -100,3 +100,12 @@ __sys_splice:
	rcall	sys_splice
	rcall	sys_splice
	sub	sp, -4
	sub	sp, -4
	popm	pc
	popm	pc

	.global	__sys_epoll_pwait
	.type	__sys_epoll_pwait,@function
__sys_epoll_pwait:
	pushm	lr
	st.w	--sp, ARG6
	rcall	sys_epoll_pwait
	sub	sp, -4
	popm	pc
+1 −0
Original line number Original line Diff line number Diff line
@@ -286,4 +286,5 @@ sys_call_table:
	.long	sys_sync_file_range
	.long	sys_sync_file_range
	.long	sys_tee
	.long	sys_tee
	.long	sys_vmsplice
	.long	sys_vmsplice
	.long	__sys_epoll_pwait	/* 265 */
	.long	sys_ni_syscall		/* r8 is saturated at nr_syscalls */
	.long	sys_ni_syscall		/* r8 is saturated at nr_syscalls */
+2 −1
Original line number Original line Diff line number Diff line
@@ -136,6 +136,7 @@ ENTRY(generic_find_next_zero_le_bit)
	/* offset is not word-aligned. Handle the first (32 - r10) bits */
	/* offset is not word-aligned. Handle the first (32 - r10) bits */
	ldswp.w	r8, r12[0]
	ldswp.w	r8, r12[0]
	sub	r12, -4
	sub	r12, -4
	com	r8
	lsr	r8, r8, r10
	lsr	r8, r8, r10
	brne	.L_found
	brne	.L_found


@@ -146,7 +147,7 @@ ENTRY(generic_find_next_zero_le_bit)


	/* Main loop. offset must be word-aligned */
	/* Main loop. offset must be word-aligned */
1:	ldswp.w	r8, r12[0]
1:	ldswp.w	r8, r12[0]
	cp.w	r8, 0
	com	r8
	brne	.L_found
	brne	.L_found
	sub	r12, -4
	sub	r12, -4
	sub	r9, 32
	sub	r9, 32
Loading