summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f01af9f)
raw | patch | inline | side by side (parent: f01af9f)
author | James Hogan <james.hogan@imgtec.com> | |
Thu, 11 Oct 2012 09:00:58 +0000 (11:00 +0200) | ||
committer | Jesper Nilsson <jesper@jni.nu> | |
Thu, 20 Dec 2012 11:45:40 +0000 (12:45 +0100) |
This is modelled on commits such as the one below:
Commit fc1c3a003edb8a6778e64e10ef671a38c76c969e ("sh: use kbuild.h
instead of defining macros in asm-offsets.c") introduced in v2.6.26.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Commit fc1c3a003edb8a6778e64e10ef671a38c76c969e ("sh: use kbuild.h
instead of defining macros in asm-offsets.c") introduced in v2.6.26.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/kernel/asm-offsets.c | patch | blob | history |
index dd7b8e983221e50104360d3ff11db0391625a77b..a5fd88d816a6c590d145808eecdd7196b9a4ee72 100644 (file)
+#include <linux/kbuild.h>
#include <linux/sched.h>
#include <asm/thread_info.h>
* and format the required data.
*/
-#define DEFINE(sym, val) \
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
-
-#define BLANK() asm volatile("\n->" : : )
-
#if !defined(CONFIG_ETRAX_ARCH_V10) && !defined(CONFIG_ETRAX_ARCH_V32)
#error One of ARCH v10 and ARCH v32 must be true!
#endif