diff options
Diffstat (limited to 'arch/hexagon/kernel')
| -rw-r--r-- | arch/hexagon/kernel/dma.c | 1 | ||||
| -rw-r--r-- | arch/hexagon/kernel/setup.c | 2 | ||||
| -rw-r--r-- | arch/hexagon/kernel/traps.c | 9 | 
3 files changed, 3 insertions, 9 deletions
| diff --git a/arch/hexagon/kernel/dma.c b/arch/hexagon/kernel/dma.c index ad8347c29dcf..77459df34e2e 100644 --- a/arch/hexagon/kernel/dma.c +++ b/arch/hexagon/kernel/dma.c @@ -208,7 +208,6 @@ const struct dma_map_ops hexagon_dma_ops = {  	.sync_single_for_cpu = hexagon_sync_single_for_cpu,  	.sync_single_for_device = hexagon_sync_single_for_device,  	.mapping_error	= hexagon_mapping_error, -	.is_phys	= 1,  };  void __init hexagon_dma_init(void) diff --git a/arch/hexagon/kernel/setup.c b/arch/hexagon/kernel/setup.c index 6981949f5df3..dc8c7e75b5d1 100644 --- a/arch/hexagon/kernel/setup.c +++ b/arch/hexagon/kernel/setup.c @@ -66,7 +66,7 @@ void __init setup_arch(char **cmdline_p)  	 */  	__vmsetvec(_K_VM_event_vector); -	printk(KERN_INFO "PHYS_OFFSET=0x%08x\n", PHYS_OFFSET); +	printk(KERN_INFO "PHYS_OFFSET=0x%08lx\n", PHYS_OFFSET);  	/*  	 * Simulator has a few differences from the hardware. diff --git a/arch/hexagon/kernel/traps.c b/arch/hexagon/kernel/traps.c index 2942a9204a9a..91ee04842c22 100644 --- a/arch/hexagon/kernel/traps.c +++ b/arch/hexagon/kernel/traps.c @@ -412,10 +412,6 @@ void do_trap0(struct pt_regs *regs)  	case TRAP_DEBUG:  		/* Trap0 0xdb is debug breakpoint */  		if (user_mode(regs)) { -			struct siginfo info; - -			info.si_signo = SIGTRAP; -			info.si_errno = 0;  			/*  			 * Some architecures add some per-thread state  			 * to distinguish between breakpoint traps and @@ -423,9 +419,8 @@ void do_trap0(struct pt_regs *regs)  			 * set the si_code value appropriately, or we  			 * may want to use a different trap0 flavor.  			 */ -			info.si_code = TRAP_BRKPT; -			info.si_addr = (void __user *) pt_elr(regs); -			force_sig_info(SIGTRAP, &info, current); +			force_sig_fault(SIGTRAP, TRAP_BRKPT, +					(void __user *) pt_elr(regs), current);  		} else {  #ifdef CONFIG_KGDB  			kgdb_handle_exception(pt_cause(regs), SIGTRAP, |