Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 253cc22f authored by Jiri Slaby's avatar Jiri Slaby Committed by Linus Torvalds
Browse files

xtensa: use generic vga.h

What xtensa has in asm/vga.h is the same as what can be found in
asm-generic/vga.h.  So use the latter header.

Link: http://lkml.kernel.org/r/20180907132219.12979-1-jslaby@suse.cz


Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
Acked-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5780a02f
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -26,5 +26,6 @@ generic-y += rwsem.h
generic-y += sections.h
generic-y += sections.h
generic-y += topology.h
generic-y += topology.h
generic-y += trace_clock.h
generic-y += trace_clock.h
generic-y += vga.h
generic-y += word-at-a-time.h
generic-y += word-at-a-time.h
generic-y += xor.h
generic-y += xor.h

arch/xtensa/include/asm/vga.h

deleted100644 → 0
+0 −19
Original line number Original line Diff line number Diff line
/*
 * 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