summaryrefslogtreecommitdiffstats
path: root/arch/nios2/include/asm/asm-offsets.h
diff options
context:
space:
mode:
authorLey Foon Tan <lftan@altera.com>2014-11-06 08:19:36 +0100
committerLey Foon Tan <lftan@altera.com>2014-12-08 05:55:49 +0100
commit39b505cb7929d272020a2c9c25f6e3cd7c112447 (patch)
treeea2f0efe71e7ef6212006be112cd335dfdc4fbfc /arch/nios2/include/asm/asm-offsets.h
parentasm-generic: add generic futex for !CONFIG_SMP (diff)
downloadlinux-39b505cb7929d272020a2c9c25f6e3cd7c112447.tar.xz
linux-39b505cb7929d272020a2c9c25f6e3cd7c112447.zip
nios2: Assembly macros and definitions
This patch add assembly macros and definitions used in the .S files across arch/nios2/ and together with asm-offsets.c. Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/include/asm/asm-offsets.h')
-rw-r--r--arch/nios2/include/asm/asm-offsets.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/asm-offsets.h b/arch/nios2/include/asm/asm-offsets.h
new file mode 100644
index 000000000000..5b9f5e04a058
--- /dev/null
+++ b/arch/nios2/include/asm/asm-offsets.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch>
+ * Copyright (C) 2009 Thomas Chou <thomas@wytron.com.tw>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#include <generated/asm-offsets.h>