We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9abc74a commit 601b7b9Copy full SHA for 601b7b9
arch/x86/um/shared/sysdep/kernel-offsets.h
@@ -2,16 +2,9 @@
2
#include <linux/sched.h>
3
#include <linux/elf.h>
4
#include <linux/crypto.h>
5
+#include <linux/kbuild.h>
6
#include <asm/mman.h>
7
-#define DEFINE(sym, val) \
8
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
9
-
10
-#define BLANK() asm volatile("\n->" : : )
11
12
-#define OFFSET(sym, str, mem) \
13
- DEFINE(sym, offsetof(struct str, mem));
14
15
void foo(void)
16
{
17
#include <common-offsets.h>
0 commit comments