diff options
author | Manish Ahuja <ahuja@austin.ibm.com> | 2007-07-10 05:03:45 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-07-26 16:12:17 +1000 |
commit | 56d6d1a73d9e5ddd9eb1a7baeeda30803ba44879 (patch) | |
tree | ee62e972dd751737d93d7a6d14b908b99067d391 /include/asm-x86_64/hardirq.h | |
parent | 77926826f301fbd8ed96d3cd9ff17a5b59560dfb (diff) |
[POWERPC] Fix loop with unsigned long counter variable
This fixes a possible infinite loop when the unsigned long counter "i"
is used in lmb_add_region() in the following for loop:
for (i = rgn->cnt-1; i >= 0; i--)
by making the loop counter "i" be signed.
Signed-off-by: Manish Ahuja <ahuja@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-x86_64/hardirq.h')
0 files changed, 0 insertions, 0 deletions