summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/pgalloc.h
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-04-25 13:16:16 -0700
committerTony Luck <tony.luck@intel.com>2005-04-25 13:16:16 -0700
commitc411cb56586915350e4cdb6f228e9da2adba3285 (patch)
tree61cf8e8eb97592d2e3d8e7524dfabde731d97d12 /include/asm-ia64/pgalloc.h
parent5f6602a101993592b437b801c401443bec65d0cf (diff)
[IA64] fix: warning: `ql_size' might be used uninitialized
Oops. Should have caught this before I checked it in. Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64/pgalloc.h')
-rw-r--r--include/asm-ia64/pgalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ia64/pgalloc.h b/include/asm-ia64/pgalloc.h
index e86a8c331ee..2b7127330ae 100644
--- a/include/asm-ia64/pgalloc.h
+++ b/include/asm-ia64/pgalloc.h
@@ -29,7 +29,7 @@ DECLARE_PER_CPU(long, __pgtable_quicklist_size);
static inline long pgtable_quicklist_total_size(void)
{
- long ql_size;
+ long ql_size = 0;
int cpuid;
for_each_online_cpu(cpuid) {