x86: pageattr.c fix shadowed variable warning
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 5 Mar 2008 06:05:27 +0000 (22:05 -0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:19:54 +0000 (19:19 +0200)
commita7d5ac87b220829bb077cdc8e01c4fd4714ae41e
tree1aac8c19be18c15c615566a949e87c0e14f17af8
parent8ce116e5993cf64729a4d2b3dc2c0f072852654b
x86: pageattr.c fix shadowed variable warning

irqs_disabled() uses flags internally, use _flags to avoid shadowing
code calling into this macro.

Introduced between 2.6.25-rc3 and -rc4

Fixes the sparse warning:
arch/x86/mm/pageattr.c:383:21: warning: symbol 'flags' shadows an earlier one
arch/x86/mm/pageattr.c:369:16: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/irqflags.h