summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-01-12 17:02:20 -0600
committerLinus Torvalds <torvalds@linux-foundation.org>2023-01-12 17:02:20 -0600
commitbad8c4a850eaf386df681d951e3afc06bf1c7cf8 (patch)
treea348010cf1ac174e431af125b5d784c4d18e7667 /arch/x86
parent772d0e9144df4fdf68b23f2136a512e2e5670e9a (diff)
parentf57034cedeb6e00256313a2a6ee67f974d709b0b (diff)
downloadlinux-bad8c4a850eaf386df681d951e3afc06bf1c7cf8.tar.bz2
Merge tag 'for-linus-6.2-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen fixes from Juergen Gross: - two cleanup patches - a fix of a memory leak in the Xen pvfront driver - a fix of a locking issue in the Xen hypervisor console driver * tag 'for-linus-6.2-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip: xen/pvcalls: free active map buffer on pvcalls_front_free_map hvc/xen: lock console list traversal x86/xen: Remove the unused function p2m_index() xen: make remove callback of xen driver void returned
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/xen/p2m.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c
index 58db86f7b384..9bdc3b656b2c 100644
--- a/arch/x86/xen/p2m.c
+++ b/arch/x86/xen/p2m.c
@@ -134,11 +134,6 @@ static inline unsigned p2m_mid_index(unsigned long pfn)
return (pfn / P2M_PER_PAGE) % P2M_MID_PER_PAGE;
}
-static inline unsigned p2m_index(unsigned long pfn)
-{
- return pfn % P2M_PER_PAGE;
-}
-
static void p2m_top_mfn_init(unsigned long *top)
{
unsigned i;