Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
powerpc
sysdev
mpc8xx_pic.h
Go to the documentation of this file.
1
#ifndef _PPC_KERNEL_MPC8xx_H
2
#define _PPC_KERNEL_MPC8xx_H
3
4
#include <
linux/irq.h
>
5
#include <
linux/interrupt.h
>
6
7
int
mpc8xx_pic_init
(
void
);
8
unsigned
int
mpc8xx_get_irq
(
void
);
9
10
/*
11
* Some internal interrupt registers use an 8-bit mask for the interrupt
12
* level instead of a number.
13
*/
14
static
inline
uint
mk_int_int_mask(
uint
mask
)
15
{
16
return
(1 << (7 - (mask/2)));
17
}
18
19
#endif
/* _PPC_KERNEL_PPC8xx_H */
Generated on Thu Jan 10 2013 13:16:15 for Linux Kernel by
1.8.2