Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de067814 authored by Jan Beulich's avatar Jan Beulich Committed by Thomas Gleixner
Browse files

x86/xen: fix arbitrary_virt_to_machine()



While I realize that the function isn't currently being used, I still
think an obvious mistake like this should be corrected.

Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
Acked-by: default avatarJeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 2584a82d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ xmaddr_t arbitrary_virt_to_machine(unsigned long address)
{
	unsigned int level;
	pte_t *pte = lookup_address(address, &level);
	unsigned offset = address & PAGE_MASK;
	unsigned offset = address & ~PAGE_MASK;

	BUG_ON(pte == NULL);