mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-08 20:35:07 +00:00
Test fix for latest kernel which changed 'asm' to 'asm_inline'
This commit is contained in:
parent
d7fe8953c1
commit
392109f98a
@ -17,6 +17,11 @@
|
||||
#include <drv_types.h>
|
||||
#include <hal_data.h>
|
||||
|
||||
#ifdef asm_inline
|
||||
#undef asm_inline
|
||||
#define asm_inline asm
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RTW_DEBUG
|
||||
const char *rtw_log_level_str[] = {
|
||||
"_DRV_NONE_ = 0",
|
||||
|
@ -15,6 +15,11 @@
|
||||
#ifndef _LINUX_BYTEORDER_GENERIC_H
|
||||
#define _LINUX_BYTEORDER_GENERIC_H
|
||||
|
||||
#ifdef asm_inline
|
||||
#undef asm_inline
|
||||
#define asm_inline asm
|
||||
#endif
|
||||
|
||||
/*
|
||||
* linux/byteorder_generic.h
|
||||
* Generic Byte-reordering support
|
||||
|
@ -15,6 +15,11 @@
|
||||
#ifndef __OSDEP_LINUX_SERVICE_H_
|
||||
#define __OSDEP_LINUX_SERVICE_H_
|
||||
|
||||
#ifdef asm_inline
|
||||
#undef asm_inline
|
||||
#define asm_inline asm
|
||||
#endif
|
||||
|
||||
#include <linux/version.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/compiler.h>
|
||||
|
@ -14,6 +14,11 @@
|
||||
*****************************************************************************/
|
||||
#if defined(CONFIG_MP_INCLUDED)
|
||||
|
||||
#ifdef asm_inline
|
||||
#undef asm_inline
|
||||
#define asm_inline asm
|
||||
#endif
|
||||
|
||||
#ifdef MARK_KERNEL_PFU
|
||||
#include <linux/kernel.h>
|
||||
#include <asm/fpu/api.h>
|
||||
|
@ -15,6 +15,11 @@
|
||||
|
||||
#include <drv_types.h>
|
||||
|
||||
#ifdef asm_inline
|
||||
#undef asm_inline
|
||||
#define asm_inline asm
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)) || defined(RTW_VENDOR_EXT_SUPPORT)
|
||||
|
@ -13,6 +13,11 @@
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#ifdef asm_inline
|
||||
#undef asm_inline
|
||||
#define asm_inline asm
|
||||
#endif
|
||||
|
||||
#define _OSDEP_SERVICE_C_
|
||||
|
||||
#include <drv_types.h>
|
||||
|
Loading…
Reference in New Issue
Block a user