Moved opts-stack.h include before all other includes.

PR: 227446
Approved by: ken
MFC after: 3 days
This commit is contained in:
ram 2018-04-17 15:29:32 +00:00
parent dde41c9786
commit 7c9ff48810
2 changed files with 6 additions and 6 deletions

View File

@ -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");

View File

@ -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
*/
@ -152,6 +154,8 @@ typedef struct ocs_softc ocs_t;
* Platform specific operations
*/
typedef struct ocs_softc ocs_t;
/**
* @ingroup os
* @typedef ocs_os_handle_t