I would rather suspect that this is no problem after 10.04 as Xen code is much more integrated into the common kernel code. As for the patch. I sort of was hitting this while going over a big set of changes that we are missing and I think the way it currently is was a bug while porting the initial patchset. To me it looks like the endif should have always been afer setting the variable. I will reference this bug report in my changes, so it gets updated when I am finally done with the whole update.
I would rather suspect that this is no problem after 10.04 as Xen code is much more integrated into the common kernel code. As for the patch. I sort of was hitting this while going over a big set of changes that we are missing and I think the way it currently is was a bug while porting the initial patchset. To me it looks like the endif should have always been afer setting the variable. I will reference this bug report in my changes, so it gets updated when I am finally done with the whole update.