Skip to content

Commit

Permalink
[PARISC] fix "ENTRY" macro redefinition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Helge Deller authored and Kyle McMartin committed May 30, 2007
1 parent 593af52 commit c2b6ebd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/asm-parisc/linkage.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* 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 !\
Expand All @@ -24,5 +26,6 @@
END(name)
#endif

#endif /* __ASSEMBLY__ */

#endif /* __ASM_PARISC_LINKAGE_H */

0 comments on commit c2b6ebd

Please sign in to comment.