KGDB: make kgdb_breakpoint() as noinline
[deliverable/linux.git] / kernel / debug / debug_core.c
index 334b3980ffc14d396e25ccb11644f7f038cbe6e4..99982a70ddade1f728e18bd1af020b3600c4b8a2 100644 (file)
@@ -1035,7 +1035,7 @@ int dbg_io_get_char(void)
  * otherwise as a quick means to stop program execution and "break" into
  * the debugger.
  */
-void kgdb_breakpoint(void)
+noinline void kgdb_breakpoint(void)
 {
        atomic_inc(&kgdb_setting_breakpoint);
        wmb(); /* Sync point before breakpoint */
This page took 0.028455 seconds and 5 git commands to generate.