Rename _I8259SpuriousIntCount to _i8259_spurious_interrupt_count

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" -o -name "*.arch" \) \
            ! -path "./host/src/genIdt/*" \
            ! -path "*/outdir/*" | xargs sed -i 's/\b'${1}'\b/'${2}'/g';

Change-Id: Ifadb978e31770eb9f4987a3205483aad9a525b86
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-05-08 17:13:00 -05:00 committed by Anas Nashif
commit 323e0a133e
2 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@ a real IRQ has been inserted.
/* externs */
GTEXT(_IntExit)
GDATA(_I8259SpuriousIntCount)
GDATA(_i8259_spurious_interrupt_count)
/*******************************************************************************
@ -144,7 +144,7 @@ BRANCH_LABEL(check_isr)
BRANCH_LABEL(spur_isr)
/* An actual spurious interrupt. Increment counter and short circuit */
incl _I8259SpuriousIntCount
incl _i8259_spurious_interrupt_count
/* Pop the return address */
addl $4, %esp

View file

@ -103,7 +103,7 @@ the last level acknowledged and serviced.
/* globals */
#ifndef CONFIG_SHUTOFF_PIC
unsigned int _I8259SpuriousIntCount =
unsigned int _i8259_spurious_interrupt_count =
0; /* track # of spurious interrupts */
/*