Please ignore this series. I missed sending one patch. I will send v3
shortly.

On Thursday 23 February 2012 07:09 PM, Aneesh V wrote:
This will add ARM specific over-rides for the defines
from linux/linkage.h

Signed-off-by: Aneesh V<ane...@ti.com>
---
Not adding the defines for __ALIGN and __ALIGN_STR
because it's not clear why alignment is set to 0
(single byte alignment).

Creates a checkpatch error that can not be avoided

Changes in V2:
  - Newly added
---
  arch/arm/include/asm/linkage.h |   11 +++++++++++
  include/linux/linkage.h        |    5 +++++
  2 files changed, 16 insertions(+), 0 deletions(-)
  create mode 100644 arch/arm/include/asm/linkage.h

diff --git a/arch/arm/include/asm/linkage.h b/arch/arm/include/asm/linkage.h
new file mode 100644
index 0000000..bb2f937
--- /dev/null
+++ b/arch/arm/include/asm/linkage.h
@@ -0,0 +1,11 @@
+#ifndef __ASM_LINKAGE_H
+#define __ASM_LINKAGE_H
+
+#define __ALIGN .align 0
+#define __ALIGN_STR ".align 0"
+
+#define ENDPROC(name) \
+.type name, %function; \
+END(name)
+
+#endif
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index ed4cf6c..adf3762 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -44,8 +44,13 @@
  #define SYMBOL_NAME_LABEL(X)  X:
  #endif

+#ifndef __ALIGN
  #define __ALIGN .align                4
+#endif
+
+#ifndef __ALIGN_STR
  #define __ALIGN_STR           ".align 4"
+#endif

  #ifdef __ASSEMBLY__


_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to