Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd30c224

Browse files
OkabeRintaroufcui-amd
authored andcommitted
drm/amdkcl: fake macro MODULE_IMPORT_NS for legacy os
Signed-off-by: Leslie Shi <Yuliang.Shi@amd.com>
1 parentdb1a7ee commitd30c224

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

‎drivers/gpu/drm/amd/backport/backport.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,6 @@
9494
#include<kcl/kcl_capability.h>
9595
#include<kcl/kcl_fdtable.h>
9696
#include<kcl/kcl_hypervisor.h>
97+
#include<kcl/kcl_module.h>
98+
9799
#endif/* AMDGPU_BACKPORT_H */

‎include/kcl/kcl_module.h‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/* SPDX-License-Identifier: GPL-2.0-only */
2+
/*
3+
* Dynamic loading of modules into the kernel.
4+
*
5+
* Rewritten by Richard Henderson <rth@tamu.edu> Dec 1996
6+
* Rewritten again by Rusty Russell, 2002
7+
*/
8+
#ifndef_KCL_KCL_LINUX_MODULE_H_H
9+
#define_KCL_KCL_LINUX_MODULE_H_H
10+
11+
#include<linux/module.h>
12+
13+
/* Copied from v5.3-11739-g3e4d890a26d5 include/linux/module.h */
14+
#ifndefMODULE_IMPORT_NS
15+
#defineMODULE_IMPORT_NS(ns) MODULE_INFO(import_ns, #ns)
16+
#endif
17+
18+
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp