diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-16 22:08:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-16 22:08:03 -0400 |
commit | dc113c1f1d4b47af1b1ca701c5a39e24d296c2ac (patch) | |
tree | 0bb5ce21bcd41a9443708567edbdca80d9a72397 /arch/m68k/include/asm | |
parent | 63a93699c6a58795b854ff573542a08367684dae (diff) | |
parent | 059718d572e8ad388313b863aff717623bb2552f (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
m68k/block: amiflop - Remove superfluous amiga_chip_alloc() cast
m68k/atari: ARAnyM - Add support for network access
m68k/atari: ARAnyM - Add support for console access
m68k/atari: ARAnyM - Add support for block access
m68k/atari: Initial ARAnyM support
m68k: Kconfig - Remove unneeded "default n"
m68k: Makefiles - Change to new flags variables
m68k/amiga: Reclaim Chip RAM for PPC exception handlers
m68k: Allow all kernel traps to be handled via exception fixups
m68k: Use base_trap_init() to initialize vectors
m68k: Add helper function handle_kernel_fault()
Diffstat (limited to 'arch/m68k/include/asm')
-rw-r--r-- | arch/m68k/include/asm/natfeat.h | 22 | ||||
-rw-r--r-- | arch/m68k/include/asm/processor.h | 2 |
2 files changed, 24 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/natfeat.h b/arch/m68k/include/asm/natfeat.h new file mode 100644 index 000000000000..a3521b80c3b9 --- /dev/null +++ b/arch/m68k/include/asm/natfeat.h | |||
@@ -0,0 +1,22 @@ | |||
1 | /* | ||
2 | * ARAnyM hardware support via Native Features (natfeats) | ||
3 | * | ||
4 | * Copyright (c) 2005 Petr Stehlik of ARAnyM dev team | ||
5 | * | ||
6 | * This software may be used and distributed according to the terms of | ||
7 | * the GNU General Public License (GPL), incorporated herein by reference. | ||
8 | */ | ||
9 | |||
10 | #ifndef _NATFEAT_H | ||
11 | #define _NATFEAT_H | ||
12 | |||
13 | long nf_get_id(const char *feature_name); | ||
14 | long nf_call(long id, ...); | ||
15 | |||
16 | void nf_init(void); | ||
17 | void nf_shutdown(void); | ||
18 | |||
19 | void nfprint(const char *fmt, ...) | ||
20 | __attribute__ ((format (printf, 1, 2))); | ||
21 | |||
22 | # endif /* _NATFEAT_H */ | ||
diff --git a/arch/m68k/include/asm/processor.h b/arch/m68k/include/asm/processor.h index 278c69bad57a..f111b02b704f 100644 --- a/arch/m68k/include/asm/processor.h +++ b/arch/m68k/include/asm/processor.h | |||
@@ -113,6 +113,8 @@ static inline void start_thread(struct pt_regs * regs, unsigned long pc, | |||
113 | wrusp(usp); | 113 | wrusp(usp); |
114 | } | 114 | } |
115 | 115 | ||
116 | extern int handle_kernel_fault(struct pt_regs *regs); | ||
117 | |||
116 | #else | 118 | #else |
117 | 119 | ||
118 | /* | 120 | /* |