mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
c2b6ebd50b
Thanks to James for noticing. It fixes: fs/ext3/xattr.c:65:1: warning: "ENTRY" redefined In file included from include/linux/linkage.h:4, from include/linux/fs.h:271, from fs/ext3/xattr.c:54: include/asm/linkage.h:13:1: warning: this is the location of the previous definition Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
32 lines
550 B
C
32 lines
550 B
C
#ifndef __ASM_PARISC_LINKAGE_H
|
|
#define __ASM_PARISC_LINKAGE_H
|
|
|
|
#ifndef __ALIGN
|
|
#define __ALIGN .align 4
|
|
#define __ALIGN_STR ".align 4"
|
|
#endif
|
|
|
|
/*
|
|
* In parisc assembly a semicolon marks a comment while a
|
|
* exclamation mark is used to seperate independend lines.
|
|
*/
|
|
#ifdef __ASSEMBLY__
|
|
|
|
#define ENTRY(name) \
|
|
.export name !\
|
|
ALIGN !\
|
|
name:
|
|
|
|
#ifdef CONFIG_64BIT
|
|
#define ENDPROC(name) \
|
|
END(name)
|
|
#else
|
|
#define ENDPROC(name) \
|
|
.type name, @function !\
|
|
END(name)
|
|
#endif
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* __ASM_PARISC_LINKAGE_H */
|