2007-01-23 19:50:59 +00:00
|
|
|
#ifndef __ASM_PARISC_LINKAGE_H
|
|
|
|
#define __ASM_PARISC_LINKAGE_H
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2007-01-23 19:50:59 +00:00
|
|
|
#ifndef __ALIGN
|
|
|
|
#define __ALIGN .align 4
|
|
|
|
#define __ALIGN_STR ".align 4"
|
2005-04-16 22:20:36 +00:00
|
|
|
#endif
|
2007-01-23 19:50:59 +00:00
|
|
|
|
|
|
|
/*
|
2007-01-23 22:32:10 +00:00
|
|
|
* In parisc assembly a semicolon marks a comment while a
|
2007-05-30 06:14:36 +00:00
|
|
|
* exclamation mark is used to seperate independent lines.
|
2007-01-23 19:50:59 +00:00
|
|
|
*/
|
2007-05-28 16:01:39 +00:00
|
|
|
#ifdef __ASSEMBLY__
|
|
|
|
|
2007-01-23 19:50:59 +00:00
|
|
|
#define ENTRY(name) \
|
2007-01-23 22:32:10 +00:00
|
|
|
.export name !\
|
2007-01-23 19:50:59 +00:00
|
|
|
ALIGN !\
|
|
|
|
name:
|
|
|
|
|
2007-01-23 22:32:10 +00:00
|
|
|
#ifdef CONFIG_64BIT
|
|
|
|
#define ENDPROC(name) \
|
|
|
|
END(name)
|
|
|
|
#else
|
|
|
|
#define ENDPROC(name) \
|
|
|
|
.type name, @function !\
|
|
|
|
END(name)
|
|
|
|
#endif
|
|
|
|
|
2007-05-28 16:01:39 +00:00
|
|
|
#endif /* __ASSEMBLY__ */
|
2007-01-23 22:32:10 +00:00
|
|
|
|
2007-01-23 19:50:59 +00:00
|
|
|
#endif /* __ASM_PARISC_LINKAGE_H */
|