diff options
author | H. Peter Anvin | 2007-10-26 01:09:38 +0200 |
---|---|---|
committer | H. Peter Anvin | 2007-10-26 05:20:06 +0200 |
commit | e6e1ace9904b72478f0c5a5aa7bd174cb6f62561 (patch) | |
tree | 8858fe4c1d37e4e9278020bf8fba369dfdddd2a7 /kernel/irq/manage.c | |
parent | x86 setup: handle boot loaders which set up the stack incorrectly (diff) | |
download | kernel-qcow2-linux-e6e1ace9904b72478f0c5a5aa7bd174cb6f62561.tar.gz kernel-qcow2-linux-e6e1ace9904b72478f0c5a5aa7bd174cb6f62561.tar.xz kernel-qcow2-linux-e6e1ace9904b72478f0c5a5aa7bd174cb6f62561.zip |
x86 setup: sizeof() is unsigned, unbreak comparisons
We use signed values for limit checking since the values can go
negative under certain circumstances. However, sizeof() is unsigned
and forces the comparison to be unsigned, so move the comparison into
the heap_free() macros so we can ensure it is a signed comparison.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'kernel/irq/manage.c')
0 files changed, 0 insertions, 0 deletions