Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2020 19:12:52 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r360052 - head/sys/compat/linuxkpi/common/src
Message-ID:  <202004171912.03HJCqvE061650@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Fri Apr 17 19:12:52 2020
New Revision: 360052
URL: https://svnweb.freebsd.org/changeset/base/360052

Log:
  Remove a vestigal reference to kmem_object.
  
  kmem_object has been an alias of kernel_object for a while.
  
  MFC after:	1 week

Modified:
  head/sys/compat/linuxkpi/common/src/linux_page.c

Modified: head/sys/compat/linuxkpi/common/src/linux_page.c
==============================================================================
--- head/sys/compat/linuxkpi/common/src/linux_page.c	Fri Apr 17 18:34:49 2020	(r360051)
+++ head/sys/compat/linuxkpi/common/src/linux_page.c	Fri Apr 17 19:12:52 2020	(r360052)
@@ -76,7 +76,7 @@ void *
 linux_page_address(struct page *page)
 {
 
-	if (page->object != kmem_object && page->object != kernel_object) {
+	if (page->object != kernel_object) {
 		return (PMAP_HAS_DMAP ?
 		    ((void *)(uintptr_t)PHYS_TO_DMAP(VM_PAGE_TO_PHYS(page))) :
 		    NULL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004171912.03HJCqvE061650>