intel-agp: Switch to wbinvd_on_all_cpus
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 22 Jan 2010 15:01:04 +0000 (16:01 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 23 Jan 2010 00:06:30 +0000 (16:06 -0800)
commit48a719c238bcbb72d6da79de9c5b3b93ab472107
treeaf0e6aee011ed9187b1aa8d25e8829de96204840
parenta7b480e7f30b3813353ec009f10f2ac7a6669f3b
intel-agp: Switch to wbinvd_on_all_cpus

Simplify if-statement while at it.

[ hpa: we need to #include <asm/smp.h> ]

Cc: Dave Jones <davej@redhat.com>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <1264172467-25155-3-git-send-email-bp@amd64.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
drivers/char/agp/intel-agp.c