commit | 026e2c05ef58ef413e2d52696f125d5ea1aa8bce | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Tue Jul 22 11:58:14 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Tue Jul 22 12:24:00 2008 +0200 |
tree | a9efc0fd19fe72e00d9bbd0b805c7c8dc7715653 | |
parent | 93ded9b8fd42abe2c3607097963d8de6ad9117eb [diff] [blame] |
x86, cyrix: debug Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/include/asm-x86/processor-cyrix.h b/include/asm-x86/processor-cyrix.h index 97568ad..1198f2a 100644 --- a/include/asm-x86/processor-cyrix.h +++ b/include/asm-x86/processor-cyrix.h
@@ -28,3 +28,11 @@ outb(reg, 0x22); outb(data, 0x23); } + +#define getCx86_old(reg) ({ outb((reg), 0x22); inb(0x23); }) + +#define setCx86_old(reg, data) do { \ + outb((reg), 0x22); \ + outb((data), 0x23); \ +} while (0) +