summaryrefslogtreecommitdiffstats
path: root/drivers/edac/mce_amd.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@alien8.de>2012-12-23 12:40:45 +0100
committerBorislav Petkov <bp@suse.de>2013-01-22 22:40:03 +0100
commit0f08669e869e7732846088d67acd2e339c2aa2fb (patch)
tree34b97df87cdfe8b2bde09cb031f15d932295bf41 /drivers/edac/mce_amd.h
parentEDAC, MCE, AMD: Add MCE decoding support for Family 16h (diff)
downloadlinux-0f08669e869e7732846088d67acd2e339c2aa2fb.tar.xz
linux-0f08669e869e7732846088d67acd2e339c2aa2fb.zip
EDAC, MCE, AMD: Remove unneeded exports
Initially, those strings describing different parts of an MCE message were shared with amd64_edac and were therefore exported to modules. However, all except pp_msgs are used only in one place right now so hide them and make them static. No functionality change. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Borislav Petkov <bp@alien8.de>
Diffstat (limited to 'drivers/edac/mce_amd.h')
-rw-r--r--drivers/edac/mce_amd.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/edac/mce_amd.h b/drivers/edac/mce_amd.h
index 28289084017a..51b7e3a36e37 100644
--- a/drivers/edac/mce_amd.h
+++ b/drivers/edac/mce_amd.h
@@ -35,6 +35,8 @@
#define MCI_STATUS_DEFERRED BIT_64(44)
#define MCI_STATUS_POISON BIT_64(43)
+extern const char * const pp_msgs[];
+
enum tt_ids {
TT_INSTR = 0,
TT_DATA,
@@ -68,13 +70,6 @@ enum rrrr_ids {
R4_SNOOP,
};
-extern const char * const tt_msgs[];
-extern const char * const ll_msgs[];
-extern const char * const rrrr_msgs[];
-extern const char * const pp_msgs[];
-extern const char * const to_msgs[];
-extern const char * const ii_msgs[];
-
/*
* per-family decoder ops
*/