All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: compiling issue, need add include/asm/vga.h file
@ 2013-04-24  3:44 ` Chen Gang
  0 siblings, 0 replies; 34+ messages in thread
From: Chen Gang @ 2013-04-24  3:44 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Arnd Bergmann
  Cc: linux-arm-kernel, linaro-kernel, linux-kernel


For compiling with allmodconfig, need vga.h file, so copy it from arm32.

The related information:
  aarch64-linux-gnu-gcc -Wp,-MD,drivers/gpu/drm/.drm_irq.o.d  -nostdinc -isystem /usr/bin/../lib/gcc/aarch64-linux-gnu/4.7.3/include -I/root/linux-next/arch/arm64/include -Iarch/arm64/include/generated  -Iinclude -I/root/linux-next/arch/arm64/include/uapi -Iarch/arm64/include/generated/uapi -I/root/linux-next/include/uapi -Iinclude/generated/uapi -include /root/linux-next/include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -mgeneral-regs-only -fno-reorder-blocks -fno-ipa-cp-clone -fno-partial-inlining -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -femit-struct-debug-baseonly -fno-var-tracking -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAV
 E_ASM_GOT
O -Iinclude/drm -W   -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(drm_irq)"  -D"KBUILD_MODNAME=KBUILD_STR(drm)" -c -o drivers/gpu/drm/.tmp_drm_irq.o drivers/gpu/drm/drm_irq.c

The related error:
include/video/vga.h: At top level:
include/video/vga.h:22:21: fatal error: asm/vga.h: No such file or directory
compilation terminated.
make[3]: *** [drivers/gpu/drm/drm_irq.o] Error 1
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2


Signed-off-by: root <root@dhcp122.asianux.net>
---
 arch/arm64/include/asm/vga.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 arch/arm64/include/asm/vga.h

diff --git a/arch/arm64/include/asm/vga.h b/arch/arm64/include/asm/vga.h
new file mode 100644
index 0000000..91f4021
--- /dev/null
+++ b/arch/arm64/include/asm/vga.h
@@ -0,0 +1,13 @@
+#ifndef ASMARM_VGA_H
+#define ASMARM_VGA_H
+
+#include <linux/io.h>
+
+extern unsigned long vga_base;
+
+#define VGA_MAP_MEM(x,s)	(vga_base + (x))
+
+#define vga_readb(x)	(*((volatile unsigned char *)x))
+#define vga_writeb(x,y)	(*((volatile unsigned char *)y) = (x))
+
+#endif
-- 
1.7.11.7

^ permalink raw reply related	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2013-05-29  2:07 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-24  3:44 [PATCH] arm64: compiling issue, need add include/asm/vga.h file Chen Gang
2013-04-24  3:44 ` Chen Gang
2013-04-24  8:22 ` Catalin Marinas
2013-04-24  8:22   ` Catalin Marinas
2013-04-24  8:44   ` Chen Gang
2013-04-24  8:44     ` Chen Gang
2013-04-24 10:20   ` [PATCH v2] " Chen Gang
2013-04-24 10:20     ` Chen Gang
2013-04-24 10:23     ` Will Deacon
2013-04-24 10:23       ` Will Deacon
2013-04-24 10:50       ` Chen Gang
2013-04-24 10:50         ` Chen Gang
2013-04-24 10:58       ` [PATCH v3] " Chen Gang
2013-04-24 10:58         ` Chen Gang
2013-04-24 11:05         ` Catalin Marinas
2013-04-24 11:05           ` Catalin Marinas
2013-04-24 11:06           ` Chen Gang
2013-04-24 11:06             ` Chen Gang
2013-05-20  4:19           ` [PATCH] arm64: compiling issue for allmodconfig, need "asm/parport.h" by "drivers/parport/parport_pc.c" Chen Gang
2013-05-20  4:19             ` Chen Gang
2013-05-21 13:17             ` Catalin Marinas
2013-05-21 13:17               ` Catalin Marinas
2013-05-22  0:45               ` Chen Gang
2013-05-22  0:45                 ` Chen Gang
2013-05-22  7:32                 ` Chen Gang
2013-05-22  7:32                   ` Chen Gang
2013-05-28 17:02                   ` Catalin Marinas
2013-05-28 17:02                     ` Catalin Marinas
2013-05-29  2:06                     ` Chen Gang
2013-05-29  2:06                       ` Chen Gang
2013-04-24 10:42     ` [PATCH v2] arm64: compiling issue, need add include/asm/vga.h file Catalin Marinas
2013-04-24 10:42       ` Catalin Marinas
2013-04-24 10:51       ` Chen Gang
2013-04-24 10:51         ` Chen Gang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.