Date: Sun, 30 Nov 2008 22:58:27 +0000 (UTC) From: Stanislav Sedov <stas@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r185494 - head/sys/arm/arm Message-ID: <200811302258.mAUMwRdZ004625@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: stas Date: Sun Nov 30 22:58:27 2008 New Revision: 185494 URL: http://svn.freebsd.org/changeset/base/185494 Log: - Get rid of unused variable in KTR checks. This allows ktr(4) enabled ARM kernel to compile. PR: arm/128897 Submitted by: Pankov Pavel <pankov_p@mail.ru> Reviewed by: raj Approved by: kib (mentor, implicit) MFC after: 1 week Modified: head/sys/arm/arm/busdma_machdep.c Modified: head/sys/arm/arm/busdma_machdep.c ============================================================================== --- head/sys/arm/arm/busdma_machdep.c Sun Nov 30 22:40:14 2008 (r185493) +++ head/sys/arm/arm/busdma_machdep.c Sun Nov 30 22:58:27 2008 (r185494) @@ -673,9 +673,8 @@ _bus_dmamap_count_pages(bus_dma_tag_t dm bus_addr_t paddr; if ((map->pagesneeded == 0)) { - CTR4(KTR_BUSDMA, "lowaddr= %d Maxmem= %d, boundary= %d, " - "alignment= %d", dmat->lowaddr, ptoa((vm_paddr_t)Maxmem), - dmat->boundary, dmat->alignment); + CTR3(KTR_BUSDMA, "lowaddr= %d, boundary= %d, alignment= %d", + dmat->lowaddr, dmat->boundary, dmat->alignment); CTR2(KTR_BUSDMA, "map= %p, pagesneeded= %d", map, map->pagesneeded); /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811302258.mAUMwRdZ004625>