mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
x86/pv: remove unlikely() from BUG_ON() condition in pv_map_ldt_shadow_page()
BUG_ON() itself already contains an unlikely() wrapping the bug condition. No functional change. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
0fe607b2a1
commit
79560b68a1
1 file changed
+1
-1
@@ -55,7 +55,7 @@ bool pv_map_ldt_shadow_page(unsigned int offset)
|
||||
l1_pgentry_t gl1e, *pl1e;
|
||||
unsigned long linear = curr->arch.pv.ldt_base + offset;
|
||||
|
||||
BUG_ON(unlikely(in_irq()));
|
||||
BUG_ON(in_irq());
|
||||
|
||||
/*
|
||||
* Prior limit checking should guarantee this property. NB. This is
|
||||
|
||||