Skip to content
Snippets Groups Projects
Select Git revision
  • a87e692ae3a8b7022c7ea2d688dc7acdbe837ef8
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

intel_dp.c

Blame
  • alternative-asm.h 671 B
    #ifndef __ASM_ALTERNATIVE_ASM_H
    #define __ASM_ALTERNATIVE_ASM_H
    
    #ifdef __ASSEMBLY__
    
    .macro altinstruction_entry orig_offset alt_offset feature orig_len alt_len
    	.word \orig_offset - .
    	.word \alt_offset - .
    	.hword \feature
    	.byte \orig_len
    	.byte \alt_len
    .endm
    
    .macro alternative_insn insn1 insn2 cap
    661:	\insn1
    662:	.pushsection .altinstructions, "a"
    	altinstruction_entry 661b, 663f, \cap, 662b-661b, 664f-663f
    	.popsection
    	.pushsection .altinstr_replacement, "ax"
    663:	\insn2
    664:	.popsection
    	.if ((664b-663b) != (662b-661b))
    		.error "Alternatives instruction length mismatch"
    	.endif
    .endm
    
    #endif  /*  __ASSEMBLY__  */
    
    #endif /* __ASM_ALTERNATIVE_ASM_H */