processor.h (e98bdb3059cbf2b1cd4261e126b08429f64466c3) processor.h (68acfdcb477abdbf875e33e4a950094c8de08f41)
1/*
2 * include/asm-m68k/processor.h
3 *
4 * Copyright (C) 1995 Hamish Macdonald
5 */
6
7#ifndef __ASM_M68K_PROCESSOR_H
8#define __ASM_M68K_PROCESSOR_H

--- 108 unchanged lines hidden (view full) ---

117 unsigned long usp)
118{
119 regs->pc = pc;
120 regs->sr &= ~0x2000;
121 setframeformat(regs);
122 wrusp(usp);
123}
124
1/*
2 * include/asm-m68k/processor.h
3 *
4 * Copyright (C) 1995 Hamish Macdonald
5 */
6
7#ifndef __ASM_M68K_PROCESSOR_H
8#define __ASM_M68K_PROCESSOR_H

--- 108 unchanged lines hidden (view full) ---

117 unsigned long usp)
118{
119 regs->pc = pc;
120 regs->sr &= ~0x2000;
121 setframeformat(regs);
122 wrusp(usp);
123}
124
125#ifdef CONFIG_MMU
126extern int handle_kernel_fault(struct pt_regs *regs);
127#else
128static inline int handle_kernel_fault(struct pt_regs *regs)
129{
130 /* Any fault in kernel is fatal on non-mmu */
131 return 0;
132}
133#endif
134
135/* Forward declaration, a strange C thing */
136struct task_struct;
137
138/* Free all resources held by a thread. */
139static inline void release_thread(struct task_struct *dead_task)
140{
141}
142

--- 18 unchanged lines hidden ---
125/* Forward declaration, a strange C thing */
126struct task_struct;
127
128/* Free all resources held by a thread. */
129static inline void release_thread(struct task_struct *dead_task)
130{
131}
132

--- 18 unchanged lines hidden ---