svn commit: r359718 - in head/sys: cam cam/ata cam/mmc geom
Warner Losh
imp at FreeBSD.org
Tue Apr 7 22:23:24 UTC 2020
Author: imp
Date: Tue Apr 7 22:23:22 2020
New Revision: 359718
URL: https://svnweb.freebsd.org/changeset/base/359718
Log:
Now that we don't have special-case geom hacking defined in md_var.h, stop
including it. sparc64 was the last straggler here, but these weren't removed at
the time.
Modified:
head/sys/cam/ata/ata_da.c
head/sys/cam/cam_xpt.c
head/sys/cam/mmc/mmc_da.c
head/sys/geom/geom_disk.c
Modified: head/sys/cam/ata/ata_da.c
==============================================================================
--- head/sys/cam/ata/ata_da.c Tue Apr 7 20:26:42 2020 (r359717)
+++ head/sys/cam/ata/ata_da.c Tue Apr 7 22:23:22 2020 (r359718)
@@ -70,8 +70,6 @@ __FBSDID("$FreeBSD$");
#include <cam/ata/ata_all.h>
-#include <machine/md_var.h> /* geometry translation */
-
#ifdef _KERNEL
#define ATA_MAX_28BIT_LBA 268435455UL
Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c Tue Apr 7 20:26:42 2020 (r359717)
+++ head/sys/cam/cam_xpt.c Tue Apr 7 22:23:22 2020 (r359718)
@@ -71,7 +71,6 @@ __FBSDID("$FreeBSD$");
#include <cam/scsi/scsi_message.h>
#include <cam/scsi/scsi_pass.h>
-#include <machine/md_var.h> /* geometry translation */
#include <machine/stdarg.h> /* for xpt_print below */
#include "opt_cam.h"
Modified: head/sys/cam/mmc/mmc_da.c
==============================================================================
--- head/sys/cam/mmc/mmc_da.c Tue Apr 7 20:26:42 2020 (r359717)
+++ head/sys/cam/mmc/mmc_da.c Tue Apr 7 22:23:22 2020 (r359718)
@@ -77,8 +77,6 @@ __FBSDID("$FreeBSD$");
#include <cam/mmc/mmc_all.h>
-#include <machine/md_var.h> /* geometry translation */
-
#ifdef _KERNEL
typedef enum {
Modified: head/sys/geom/geom_disk.c
==============================================================================
--- head/sys/geom/geom_disk.c Tue Apr 7 20:26:42 2020 (r359717)
+++ head/sys/geom/geom_disk.c Tue Apr 7 22:23:22 2020 (r359718)
@@ -51,7 +51,6 @@ __FBSDID("$FreeBSD$");
#include <sys/malloc.h>
#include <sys/sbuf.h>
#include <sys/devicestat.h>
-#include <machine/md_var.h>
#include <sys/lock.h>
#include <sys/mutex.h>
More information about the svn-src-all
mailing list