Skip to content

Commit

Permalink
Final removal of FASTCALL()/fastcall
Browse files Browse the repository at this point in the history
All users are gone, remove definitions and comments referring
to them.

Signed-off-by: Harvey Harrison <[email protected]>
Acked-by: David Howells <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
hharrison authored and Linus Torvalds committed Feb 14, 2008
1 parent b5606c2 commit 2153430
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion drivers/char/drm/i830_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "i830_drm.h"
#include "i830_drv.h"
#include <linux/interrupt.h> /* For task queue support */
#include <linux/pagemap.h> /* For FASTCALL on unlock_page() */
#include <linux/pagemap.h>
#include <linux/delay.h>
#include <asm/uaccess.h>

Expand Down
4 changes: 2 additions & 2 deletions include/asm-mn10300/highmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ extern void __init kmap_init(void);
#define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT)
#define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT))

extern unsigned long __fastcall kmap_high(struct page *page);
extern void __fastcall kunmap_high(struct page *page);
extern unsigned long kmap_high(struct page *page);
extern void kunmap_high(struct page *page);

static inline unsigned long kmap(struct page *page)
{
Expand Down
2 changes: 0 additions & 2 deletions include/asm-mn10300/linkage.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

/* don't override anything */
#define asmlinkage
#define FASTCALL(x) x
#define fastcall

#define __ALIGN .align 4,0xcb
#define __ALIGN_STR ".align 4,0xcb"
Expand Down
1 change: 0 additions & 1 deletion include/linux/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ extern void handle_bad_irq(unsigned int irq, struct irq_desc *desc);

/*
* Monolithic do_IRQ implementation.
* (is an explicit fastcall, because i386 4KSTACKS calls it from assembly)
*/
#ifndef CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ
extern unsigned int __do_IRQ(unsigned int irq);
Expand Down
5 changes: 0 additions & 5 deletions include/linux/linkage.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,4 @@
#define ATTRIB_NORET __attribute__((noreturn))
#define NORET_AND noreturn,

#ifndef FASTCALL
#define FASTCALL(x) x
#define fastcall
#endif

#endif

0 comments on commit 2153430

Please sign in to comment.