public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
* Fw: [PATCH] abstract type/size specification for assembly
@ 2006-01-31 22:31 Andrew Morton
  2006-02-01  7:36 ` Andi Kleen
  2006-02-01 13:50 ` Ralf Baechle
  0 siblings, 2 replies; 8+ messages in thread
From: Andrew Morton @ 2006-01-31 22:31 UTC (permalink / raw)
  To: linux-arch; +Cc: Jan Beulich

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]


OK?



From: Jan Beulich <jbeulich@novell.com>

Provide abstraction for generating type and size information of assembly
routines and data.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 include/linux/linkage.h |    5 +++++
 1 files changed, 5 insertions(+)

diff -puN include/linux/linkage.h~abstract-type-size-specification-for-assembly include/linux/linkage.h
--- 25/include/linux/linkage.h~abstract-type-size-specification-for-assembly	Tue Jan 31 14:30:58 2006
+++ 25-akpm/include/linux/linkage.h	Tue Jan 31 14:30:58 2006
@@ -39,6 +39,11 @@
   ALIGN; \
   name:
 
+#define ENDPROC(name) \
+  .type name, @function; \
+  END(name)
+#define END(name) \
+  .size name, .-name
 
 #endif
 
_


[-- Attachment #2: linux-2.6.16-rc1-end-endproc.patch --]
[-- Type: text/plain, Size: 653 bytes --]

From: Jan Beulich <jbeulich@novell.com>

Provide abstraction for generating type and size information of
assembly routines and data.

Signed-Off-By: Jan Beulich <jbeulich@novell.com>

diff -Npru /home/jbeulich/tmp/linux-2.6.16-rc1/include/linux/linkage.h 2.6.16-rc1-end-endproc/include/linux/linkage.h
--- /home/jbeulich/tmp/linux-2.6.16-rc1/include/linux/linkage.h	2006-01-03 04:21:10.000000000 +0100
+++ 2.6.16-rc1-end-endproc/include/linux/linkage.h	2006-01-25 10:41:49.000000000 +0100
@@ -39,6 +39,11 @@
   ALIGN; \
   name:
 
+#define ENDPROC(name) \
+  .type name, @function; \
+  END(name)
+#define END(name) \
+  .size name, .-name
 
 #endif
 


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-02-08 16:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-31 22:31 Fw: [PATCH] abstract type/size specification for assembly Andrew Morton
2006-02-01  7:36 ` Andi Kleen
2006-02-01  8:32   ` Russell King
2006-02-01  8:49     ` Andi Kleen
2006-02-01  9:09       ` Russell King
2006-02-01 11:40     ` Jan Beulich
2006-02-08 16:11     ` Jan Beulich
2006-02-01 13:50 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox