diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-16 19:40:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-16 19:40:14 -0400 |
commit | bcea36df7ae4b0db0b6e5e6dd3e5efe03410f5da (patch) | |
tree | c46a85a221a56279ef34aab003743aed1e11624b /arch/x86/kernel | |
parent | 05e30f01b70e5f75f3c3a62010c0f059826da565 (diff) | |
parent | a3819e3e71d5000c176918309284a1fa2f133fcf (diff) |
Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cleanup from Ingo Molnar:
"Inline optimizations"
* 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86: Fix non-static inlines
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/hpet.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/pci-iommu_table.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c index 7282c2e3858e..f112af7aa62e 100644 --- a/arch/x86/kernel/hpet.c +++ b/arch/x86/kernel/hpet.c | |||
@@ -54,7 +54,7 @@ struct hpet_dev { | |||
54 | char name[10]; | 54 | char name[10]; |
55 | }; | 55 | }; |
56 | 56 | ||
57 | inline struct hpet_dev *EVT_TO_HPET_DEV(struct clock_event_device *evtdev) | 57 | static inline struct hpet_dev *EVT_TO_HPET_DEV(struct clock_event_device *evtdev) |
58 | { | 58 | { |
59 | return container_of(evtdev, struct hpet_dev, evt); | 59 | return container_of(evtdev, struct hpet_dev, evt); |
60 | } | 60 | } |
diff --git a/arch/x86/kernel/pci-iommu_table.c b/arch/x86/kernel/pci-iommu_table.c index 35ccf75696eb..f712dfdf1357 100644 --- a/arch/x86/kernel/pci-iommu_table.c +++ b/arch/x86/kernel/pci-iommu_table.c | |||
@@ -72,7 +72,7 @@ void __init check_iommu_entries(struct iommu_table_entry *start, | |||
72 | } | 72 | } |
73 | } | 73 | } |
74 | #else | 74 | #else |
75 | inline void check_iommu_entries(struct iommu_table_entry *start, | 75 | void __init check_iommu_entries(struct iommu_table_entry *start, |
76 | struct iommu_table_entry *finish) | 76 | struct iommu_table_entry *finish) |
77 | { | 77 | { |
78 | } | 78 | } |