Re: [PATCH 3/6] reliable stack trace support (x86-64 IRQ stack adjustment)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  1:	incl	%gs:pda_irqcount	# RED-PEN should check preempt count
> -	movq %gs:pda_irqstackptr,%rax
> -	cmoveq %rax,%rsp /*todo This needs CFI annotation! */
> +	cmoveq %gs:pda_irqstackptr,%rsp
> +#if !defined(CONFIG_DEBUG_INFO) && !defined(CONFIG_UNWIND_INFO)
>  	pushq %rdi			# save old stack	
> -#ifndef CONFIG_DEBUG_INFO

The tests for DEBUG_INFO are obsolete here. It should only test for 
UNWIND_INFO. I'll fix that up.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux