Rename K_DebugHalt to _k_debug_halt

Updating global variable's name to follow a consistent naming convention.

Change accomplished with the following script:

   #!/bin/bash
   echo "Searching for ${1} to replace with ${2}"
   find ./ \( -name "*.[chs]" -o -name "sysgen.py" -o -name "*.kconf" \) \
            ! -path "./host/src/genIdt/*" \
            ! -path "*/outdir/*" | xargs sed -i 's/\b'${1}'\b/'${2}'/g';

Change-Id: Ia591e26dc082302ea4333deeb132d1732700e63e
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-04-27 10:28:30 -05:00 committed by Anas Nashif
commit 7ca6ed4a8c
5 changed files with 7 additions and 7 deletions

View file

@ -313,9 +313,9 @@ void K_groupop(struct k_args *A)
#ifdef CONFIG_TASK_DEBUG
if (opt == GROUP_TASK_BLOCK)
K_DebugHalt = 1;
_k_debug_halt = 1;
if (opt == GROUP_TASK_UNBLOCK)
K_DebugHalt = 0;
_k_debug_halt = 0;
#endif
for (i = 0, X = _k_task_list; i < _k_task_count; i++, X++) {