Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23430
b: refs/heads/master
c: ab7efcc
h: refs/heads/master
v: v3
  • Loading branch information
Jan Beulich authored and Linus Torvalds committed Mar 24, 2006
1 parent 542c633 commit 7d7d772
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 09fe316a7b10219be592118626850e1dfdfcc1aa
refs/heads/master: ab7efcc97ebc92e03c0474dfd38f9c7b84b84115
8 changes: 8 additions & 0 deletions trunk/include/asm-ia64/linkage.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
#ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H

#ifndef __ASSEMBLY__

#define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linkage))

#else

#include <asm/asmmacro.h>

#endif

#endif
4 changes: 3 additions & 1 deletion trunk/include/asm-mips/linkage.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H

/* Nothing to see here... */
#ifdef __ASSEMBLY__
#include <asm/asm.h>
#endif

#endif
4 changes: 3 additions & 1 deletion trunk/include/asm-v850/linkage.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H

/* Nothing to see here... */
#ifdef __ASSEMBLY__
#include <asm/asm.h>
#endif

#endif
16 changes: 13 additions & 3 deletions trunk/include/linux/linkage.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,27 @@
#define ALIGN __ALIGN
#define ALIGN_STR __ALIGN_STR

#ifndef ENTRY
#define ENTRY(name) \
.globl name; \
ALIGN; \
name:
#endif

#define KPROBE_ENTRY(name) \
.section .kprobes.text, "ax"; \
.globl name; \
ALIGN; \
name:
ENTRY(name)

#ifndef END
#define END(name) \
.size name, .-name
#endif

#ifndef ENDPROC
#define ENDPROC(name) \
.type name, @function; \
END(name)
#endif

#endif

Expand Down

0 comments on commit 7d7d772

Please sign in to comment.