* [PATCH] abstract type/size specification for assembly
@ 2006-01-30 9:12 Jan Beulich
0 siblings, 0 replies; 2+ messages in thread
From: Jan Beulich @ 2006-01-30 9:12 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
Andrew,
would you consider merging attached trivial patch to simplify specifying the size and, for functions, also the type in
assembly files?
Thanks, Jan
[-- Attachment #2: linux-2.6.16-rc1-end-endproc.patch --]
[-- Type: text/plain, Size: 652 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] 2+ messages in thread
[parent not found: <43DDE699.76F0.0078.0@novell.com.suse.lists.linux.kernel>]
end of thread, other threads:[~2006-01-31 12:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-30 9:12 [PATCH] abstract type/size specification for assembly Jan Beulich
[not found] <43DDE699.76F0.0078.0@novell.com.suse.lists.linux.kernel>
2006-01-31 12:35 ` Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome