aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/vga.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 11:56:29 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 11:56:29 -0800
commit52fefcec97c25b15887e6a9a885ca54e7f7c0928 (patch)
tree4898112a7fb30c20a9da3aefe9fdc7fdebda57a6 /arch/xtensa/include/asm/vga.h
parenta0e280e0f33f6c859a235fb69a875ed8f3420388 (diff)
parent5fee325e7d2bcbebf1cb38b4ff3a7aa3744c43e3 (diff)
downloadkernel_samsung_smdk4412-52fefcec97c25b15887e6a9a885ca54e7f7c0928.zip
kernel_samsung_smdk4412-52fefcec97c25b15887e6a9a885ca54e7f7c0928.tar.gz
kernel_samsung_smdk4412-52fefcec97c25b15887e6a9a885ca54e7f7c0928.tar.bz2
Merge git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtensa-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtensa-2.6: xtensa: Update platform files to reflect new location of the header files. xtensa: switch to packed struct unaligned access implementation xtensa: Add xt2000 support files. xtensa: move headers files to arch/xtensa/include xtensa: use the new byteorder headers
Diffstat (limited to 'arch/xtensa/include/asm/vga.h')
-rw-r--r--arch/xtensa/include/asm/vga.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/vga.h b/arch/xtensa/include/asm/vga.h
new file mode 100644
index 0000000..1fd8cab
--- /dev/null
+++ b/arch/xtensa/include/asm/vga.h
@@ -0,0 +1,19 @@
+/*
+ * include/asm-xtensa/vga.h
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2001 - 2005 Tensilica Inc.
+ */
+
+#ifndef _XTENSA_VGA_H
+#define _XTENSA_VGA_H
+
+#define VGA_MAP_MEM(x,s) (unsigned long)phys_to_virt(x)
+
+#define vga_readb(x) (*(x))
+#define vga_writeb(x,y) (*(y) = (x))
+
+#endif