Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70997
b: refs/heads/master
c: 7e02cb9
h: refs/heads/master
i:
  70995: 8a66c19
v: v3
  • Loading branch information
Adrian Bunk authored and Thomas Gleixner committed Oct 17, 2007
1 parent fa8e4b5 commit cd6eb15
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 35 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: 3f4ed1511dc8c71073bb7d220ee62eedd8e8aeec
refs/heads/master: 7e02cb941ddc129158c276648c10a69dca7d36d3
2 changes: 1 addition & 1 deletion trunk/arch/x86/lib/rwlock_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <linux/linkage.h>
#include <asm/rwlock.h>
#include <asm/alternative-asm.i>
#include <asm/alternative-asm.h>
#include <asm/dwarf2.h>

/* rdi: pointer to rwlock_t */
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/lib/semaphore_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

#include <linux/linkage.h>
#include <asm/rwlock.h>
#include <asm/alternative-asm.i>
#include <asm/frame.i>
#include <asm/alternative-asm.h>
#include <asm/frame.h>
#include <asm/dwarf2.h>

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef __UM_ALTERNATIVE_ASM_I
#define __UM_ALTERNATIVE_ASM_I

#include "asm/arch/alternative-asm.i"
#include "asm/arch/alternative-asm.h"

#endif
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef __UM_FRAME_I
#define __UM_FRAME_I

#include "asm/arch/frame.i"
#include "asm/arch/frame.h"

#endif
22 changes: 22 additions & 0 deletions trunk/include/asm-x86/alternative-asm.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#ifdef __ASSEMBLY__

#ifdef CONFIG_X86_32
# define X86_ALIGN .long
#else
# define X86_ALIGN .quad
#endif

#ifdef CONFIG_SMP
.macro LOCK_PREFIX
1: lock
.section .smp_locks,"a"
.align 4
X86_ALIGN 1b
.previous
.endm
#else
.macro LOCK_PREFIX
.endm
#endif

#endif /* __ASSEMBLY__ */
5 changes: 0 additions & 5 deletions trunk/include/asm-x86/alternative-asm.i

This file was deleted.

12 changes: 0 additions & 12 deletions trunk/include/asm-x86/alternative-asm_32.i

This file was deleted.

12 changes: 0 additions & 12 deletions trunk/include/asm-x86/alternative-asm_64.i

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#ifdef __ASSEMBLY__

#include <asm/dwarf2.h>

/* The annotation hides the frame from the unwinder and makes it look
Expand All @@ -21,3 +23,5 @@
.macro ENDFRAME
.endm
#endif

#endif /* __ASSEMBLY__ */

0 comments on commit cd6eb15

Please sign in to comment.