x86/amd_nb: Clean up init path
authorBorislav Petkov <bp@suse.de>
Thu, 16 Jun 2016 17:13:50 +0000 (19:13 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 1 Jul 2016 07:36:12 +0000 (09:36 +0200)
commit09c6c30e72ce6892b21e6cf76b4508ad82a38636
tree3f5b2a35ace653ee185424b37ed30ecb7f86725d
parent35c88cabb17937c0a500f82d580c3db48c742dd4
x86/amd_nb: Clean up init path

The initcall had unnecessary pr_notice() messages which are useless
noise on distro kernels.

Also, push the GART init error message where it belongs, *after* the
check whether the current hw we're loaded on, supports GART at all.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Battersby <tonyb@cybernetics.com>
Link: http://lkml.kernel.org/r/1466097230-5333-3-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/amd_nb.c