diff options
| author | 2008-07-12 01:01:20 -0700 | |
|---|---|---|
| committer | 2008-07-13 08:27:46 +0200 | |
| commit | f910a9dc7c865896815e2a95fe33363e9522f277 (patch) | |
| tree | a4d1361f7d38dd358da62a1c14191cdbf6011d98 /arch/powerpc/lib/code-patching.c | |
| parent | x86: make read_apic_id return final apicid (diff) | |
| download | linux-dev-f910a9dc7c865896815e2a95fe33363e9522f277.tar.xz linux-dev-f910a9dc7c865896815e2a95fe33363e9522f277.zip | |
x86: make 64bit have get_apic_id
generalize the x2apic code some more.
let read_apic_id become a macro (later on a function/inline)
GET_APIC_ID(apic_read(APIC_ID))
+#define read_apic_id() (GET_APIC_ID(apic_read(APIC_ID)))
instead of this weird construct:
-#define read_apic_id (genapic->read_apic_id)
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
