Skip to contentSkip to conversation

FIXMAP

DISCUSSION Amol Kumar Lad 1 participant 1 message Mar 19, 2003

lore
Share & tools
lore
#0 lore raw

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