2003-03-19 05:05:00

by Amol Kumar Lad

[permalink] [raw]
Subject: FIXMAP

Hi,

What will happen if one does

vaddr = fix_to_virt(0);
virt_to_fix(vaddr);

As enum fixed_address can contain 0 index also so fix_to_virt will
return FIXADDR_TOP which will result in a BUG() in virt_to_fix..

Am I missing something ?

Please cc me... I am reading 2.5.47...

Thanks
Amol