1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-22 13:24:36 +00:00

Test fix for latest kernel which changed 'asm' to 'asm_inline'

This commit is contained in:
kimocoder 2019-12-17 19:29:57 +01:00
parent d7fe8953c1
commit 392109f98a
6 changed files with 30 additions and 0 deletions

View File

@ -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",

View File

@ -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

View File

@ -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>

View File

@ -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>

View File

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

View File

@ -13,6 +13,11 @@
*
*****************************************************************************/
#ifdef asm_inline
#undef asm_inline
#define asm_inline asm
#endif
#define _OSDEP_SERVICE_C_
#include <drv_types.h>