Skip to content
Snippets Groups Projects
Select Git revision
  • c8538a7aa5527d02c7191ac5da124efadf6a2827
  • 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

bug.h

Blame
  • bug.h 542 B
    #ifndef _I386_BUG_H
    #define _I386_BUG_H
    
    #include <linux/config.h>
    
    /*
     * Tell the user there is some problem.
     * The offending file and line are encoded after the "officially
     * undefined" opcode for parsing in the trap handler.
     */
    
    #ifdef CONFIG_BUG
    #define HAVE_ARCH_BUG
    #ifdef CONFIG_DEBUG_BUGVERBOSE
    #define BUG()				\
     __asm__ __volatile__(	"ud2\n"		\
    			"\t.word %c0\n"	\
    			"\t.long %c1\n"	\
    			 : : "i" (__LINE__), "i" (__FILE__))
    #else
    #define BUG() __asm__ __volatile__("ud2\n")
    #endif
    #endif
    
    #include <asm-generic/bug.h>
    #endif