repo.or.cz
/
linux-2.6
/
sactl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH] ide: fix line break in ide messages
[linux-2.6/sactl.git]
/
include
/
asm-i386
/
mach-numaq
/
mach_apicdef.h
blob
bf439d0690f54e0c74a7fdf70c9a1cbf900d691d
1
#ifndef __ASM_MACH_APICDEF_H
2
#define __ASM_MACH_APICDEF_H
3
4
5
#define APIC_ID_MASK (0xF<<24)
6
7
static
inline
unsigned
get_apic_id
(
unsigned long
x
)
8
{
9
return
(((
x
)>>
24
)&
0x0F
);
10
}
11
12
#define GET_APIC_ID(x) get_apic_id(x)
13
14
#endif