Skip to content

Commit 144b2a9

Browse files
hharrisonLinus Torvalds
authored andcommitted
asm-generic: remove fastcall
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent ec70158 commit 144b2a9

3 files changed

Lines changed: 22 additions & 22 deletions

File tree

‎include/asm-generic/iomap.h‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@
2525
* in the low address range. Architectures for which this is not
2626
* true can't use this generic implementation.
2727
*/
28-
extern unsigned int fastcall ioread8(void __iomem *);
29-
extern unsigned int fastcall ioread16(void __iomem *);
30-
extern unsigned int fastcall ioread16be(void __iomem *);
31-
extern unsigned int fastcall ioread32(void __iomem *);
32-
extern unsigned int fastcall ioread32be(void __iomem *);
28+
extern unsigned int ioread8(void __iomem *);
29+
extern unsigned int ioread16(void __iomem *);
30+
extern unsigned int ioread16be(void __iomem *);
31+
extern unsigned int ioread32(void __iomem *);
32+
extern unsigned int ioread32be(void __iomem *);
3333

34-
extern void fastcall iowrite8(u8, void __iomem *);
35-
extern void fastcall iowrite16(u16, void __iomem *);
36-
extern void fastcall iowrite16be(u16, void __iomem *);
37-
extern void fastcall iowrite32(u32, void __iomem *);
38-
extern void fastcall iowrite32be(u32, void __iomem *);
34+
extern void iowrite8(u8, void __iomem *);
35+
extern void iowrite16(u16, void __iomem *);
36+
extern void iowrite16be(u16, void __iomem *);
37+
extern void iowrite32(u32, void __iomem *);
38+
extern void iowrite32be(u32, void __iomem *);
3939

4040
/*
4141
* "string" versions of the above. Note that they
@@ -48,13 +48,13 @@ extern void fastcall iowrite32be(u32, void __iomem *);
4848
* memory across multiple ports, use "memcpy_toio()"
4949
* and friends.
5050
*/
51-
extern void fastcall ioread8_rep(void __iomem *port, void *buf, unsigned long count);
52-
extern void fastcall ioread16_rep(void __iomem *port, void *buf, unsigned long count);
53-
extern void fastcall ioread32_rep(void __iomem *port, void *buf, unsigned long count);
51+
extern void ioread8_rep(void __iomem *port, void *buf, unsigned long count);
52+
extern void ioread16_rep(void __iomem *port, void *buf, unsigned long count);
53+
extern void ioread32_rep(void __iomem *port, void *buf, unsigned long count);
5454

55-
extern void fastcall iowrite8_rep(void __iomem *port, const void *buf, unsigned long count);
56-
extern void fastcall iowrite16_rep(void __iomem *port, const void *buf, unsigned long count);
57-
extern void fastcall iowrite32_rep(void __iomem *port, const void *buf, unsigned long count);
55+
extern void iowrite8_rep(void __iomem *port, const void *buf, unsigned long count);
56+
extern void iowrite16_rep(void __iomem *port, const void *buf, unsigned long count);
57+
extern void iowrite32_rep(void __iomem *port, const void *buf, unsigned long count);
5858

5959
/* Create a virtual mapping cookie for an IO port range */
6060
extern void __iomem *ioport_map(unsigned long port, unsigned int nr);

‎include/asm-generic/mutex-dec.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* 1 even when the "1" assertion wasn't true.
1919
*/
2020
static inline void
21-
__mutex_fastpath_lock(atomic_t *count, fastcall void (*fail_fn)(atomic_t *))
21+
__mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
2222
{
2323
if (unlikely(atomic_dec_return(count) < 0))
2424
fail_fn(count);
@@ -37,7 +37,7 @@ __mutex_fastpath_lock(atomic_t *count, fastcall void (*fail_fn)(atomic_t *))
3737
* or anything the slow path function returns.
3838
*/
3939
static inline int
40-
__mutex_fastpath_lock_retval(atomic_t *count, fastcall int (*fail_fn)(atomic_t *))
40+
__mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
4141
{
4242
if (unlikely(atomic_dec_return(count) < 0))
4343
return fail_fn(count);
@@ -61,7 +61,7 @@ __mutex_fastpath_lock_retval(atomic_t *count, fastcall int (*fail_fn)(atomic_t *
6161
* to return 0 otherwise.
6262
*/
6363
static inline void
64-
__mutex_fastpath_unlock(atomic_t *count, fastcall void (*fail_fn)(atomic_t *))
64+
__mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *))
6565
{
6666
smp_mb();
6767
if (unlikely(atomic_inc_return(count) <= 0))

‎include/asm-generic/mutex-xchg.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* even when the "1" assertion wasn't true.
2424
*/
2525
static inline void
26-
__mutex_fastpath_lock(atomic_t *count, fastcall void (*fail_fn)(atomic_t *))
26+
__mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *))
2727
{
2828
if (unlikely(atomic_xchg(count, 0) != 1))
2929
fail_fn(count);
@@ -42,7 +42,7 @@ __mutex_fastpath_lock(atomic_t *count, fastcall void (*fail_fn)(atomic_t *))
4242
* or anything the slow path function returns
4343
*/
4444
static inline int
45-
__mutex_fastpath_lock_retval(atomic_t *count, fastcall int (*fail_fn)(atomic_t *))
45+
__mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *))
4646
{
4747
if (unlikely(atomic_xchg(count, 0) != 1))
4848
return fail_fn(count);
@@ -65,7 +65,7 @@ __mutex_fastpath_lock_retval(atomic_t *count, fastcall int (*fail_fn)(atomic_t *
6565
* to return 0 otherwise.
6666
*/
6767
static inline void
68-
__mutex_fastpath_unlock(atomic_t *count, fastcall void (*fail_fn)(atomic_t *))
68+
__mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *))
6969
{
7070
smp_mb();
7171
if (unlikely(atomic_xchg(count, 1) != 0))

0 commit comments

Comments
 (0)