pci: Update pci_set_vga_state() to call arch functions
commit95a8b6efc5d07103583f706c8a5889437d537939
authorMike Travis <travis@sgi.com>
Tue, 2 Feb 2010 22:38:13 +0000 (2 14:38 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 5 Feb 2010 22:05:41 +0000 (5 14:05 -0800)
treea8e9161eea03b0eb21e838826c547771158ecdce
parent499a2673713c85734a54c37dd90b4b729de399c4
pci: Update pci_set_vga_state() to call arch functions

Update pci_set_vga_state to call arch dependent functions to enable Legacy
VGA I/O transactions to be redirected to correct target.

[akpm@linux-foundation.org: make pci_register_set_vga_state() __init]
Signed-off-by: Mike Travis <travis@sgi.com>
LKML-Reference: <201002022238.o12McE1J018723@imap1.linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Robin Holt <holt@sgi.com>
Cc: Jack Steiner <steiner@sgi.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
drivers/pci/pci.c
include/linux/pci.h