Messages in this thread | | | Date | Tue, 10 Mar 2009 09:37:35 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH 07/25] [x86] BUG to BUG_ON changes |
| |
* Stoyan Gaydarov <stoyboyker@gmail.com> wrote:
> Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com> > --- > arch/x86/kernel/cpu/common.c | 6 ++---- > arch/x86/kernel/quirks.c | 3 +-- > arch/x86/mach-voyager/voyager_smp.c | 6 ++---- > 3 files changed, 5 insertions(+), 10 deletions(-)
applied, thanks.
To find candidates i suspect you used something like this:
grep -r -B 1 'BUG()' arch/x86/ | grep -E '\<if\>[^(]*\([^{(]*$' -A 1
right? It gives the output below - exactly the sites you touched.
Ingo
arch/x86/kernel/cpu/common.c- if (me->mm) arch/x86/kernel/cpu/common.c: BUG(); -- arch/x86/kernel/cpu/common.c- if (curr->mm) arch/x86/kernel/cpu/common.c: BUG(); -- arch/x86/kernel/quirks.c- if (rcba_base == NULL) arch/x86/kernel/quirks.c: BUG();
| |