svn commit: r332646 - head/sys/dev/ocs_fc
Ram Kishore Vegesna
ram at FreeBSD.org
Tue Apr 17 15:29:33 UTC 2018
Author: ram
Date: Tue Apr 17 15:29:32 2018
New Revision: 332646
URL: https://svnweb.freebsd.org/changeset/base/332646
Log:
Moved opts-stack.h include before all other includes.
PR: 227446
Approved by: ken
MFC after: 3 days
Modified:
head/sys/dev/ocs_fc/ocs_os.c
head/sys/dev/ocs_fc/ocs_os.h
Modified: head/sys/dev/ocs_fc/ocs_os.c
==============================================================================
--- head/sys/dev/ocs_fc/ocs_os.c Tue Apr 17 12:54:58 2018 (r332645)
+++ head/sys/dev/ocs_fc/ocs_os.c Tue Apr 17 15:29:32 2018 (r332646)
@@ -37,10 +37,6 @@
*/
#include "ocs.h"
-#include "opt_stack.h"
-#include <sys/sysctl.h>
-#include <sys/malloc.h>
-#include <sys/linker.h> /* for debug of memory allocations */
static MALLOC_DEFINE(M_OCS, "OCS", "OneCore Storage data");
Modified: head/sys/dev/ocs_fc/ocs_os.h
==============================================================================
--- head/sys/dev/ocs_fc/ocs_os.h Tue Apr 17 12:54:58 2018 (r332645)
+++ head/sys/dev/ocs_fc/ocs_os.h Tue Apr 17 15:29:32 2018 (r332646)
@@ -39,11 +39,11 @@
#ifndef _OCS_OS_H
#define _OCS_OS_H
-typedef struct ocs_softc ocs_t;
-
/***************************************************************************
* OS specific includes
*/
+#include "opt_stack.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
@@ -78,6 +78,8 @@ typedef struct ocs_softc ocs_t;
#include <sys/ioccom.h>
#include <sys/ctype.h>
+#include <sys/linker.h> /* for debug of memory allocations */
+
/* OCS_OS_MAX_ISR_TIME_MSEC - maximum time driver code should spend in an interrupt
* or kernel thread context without yielding
*/
@@ -151,6 +153,8 @@ typedef struct ocs_softc ocs_t;
/***************************************************************************
* Platform specific operations
*/
+
+typedef struct ocs_softc ocs_t;
/**
* @ingroup os
More information about the svn-src-all
mailing list