Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2009 08:38:03 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187327 - head/sys/mips/include
Message-ID:  <200901160838.n0G8c3si000969@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Jan 16 08:38:03 2009
New Revision: 187327
URL: http://svn.freebsd.org/changeset/base/187327

Log:
  Eliminate the PMAP_INLINE macro.  It isn't really used here.  If we
  need to bring it back, we can.

Modified:
  head/sys/mips/include/pmap.h

Modified: head/sys/mips/include/pmap.h
==============================================================================
--- head/sys/mips/include/pmap.h	Fri Jan 16 08:30:22 2009	(r187326)
+++ head/sys/mips/include/pmap.h	Fri Jan 16 08:38:03 2009	(r187327)
@@ -143,12 +143,6 @@ typedef struct pv_entry {
 #define	PMAP_DIAGNOSTIC
 #endif
 
-#if !defined(PMAP_DIAGNOSTIC)
-#define	PMAP_INLINE __inline
-#else
-#define	PMAP_INLINE
-#endif
-
 extern vm_offset_t avail_end;
 extern vm_offset_t avail_start;
 extern vm_offset_t phys_avail[];
@@ -171,8 +165,8 @@ vm_offset_t pmap_steal_memory(vm_size_t 
 void pmap_set_modified(vm_offset_t pa);
 int page_is_managed(vm_offset_t pa);
 void pmap_page_is_free(vm_page_t m);
- /* PMAP_INLINE */ void pmap_kenter(vm_offset_t va, vm_paddr_t pa);
- /* PMAP_INLINE */ void pmap_kremove(vm_offset_t va);
+void pmap_kenter(vm_offset_t va, vm_paddr_t pa);
+void pmap_kremove(vm_offset_t va);
 void *pmap_kenter_temporary(vm_paddr_t pa, int i);
 void pmap_kenter_temporary_free(vm_paddr_t pa);
 int pmap_compute_pages_to_dump(void);



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