diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-12-29 03:45:15 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-12-29 03:45:15 -0500 |
| commit | e1df957670aef74ffd9a4ad93e6d2c90bf6b4845 (patch) | |
| tree | bca1fcfef55b3e3e82c9a822b4ac6428fce2b419 /arch/x86/kernel/cpu/intel_cacheinfo.c | |
| parent | 2b583d8bc8d7105b58d7481a4a0ceb718dac49c6 (diff) | |
| parent | 3c92ec8ae91ecf59d88c798301833d7cf83f2179 (diff) | |
Merge branch 'linus' into perfcounters/core
Conflicts:
fs/exec.c
include/linux/init_task.h
Simple context conflicts.
Diffstat (limited to 'arch/x86/kernel/cpu/intel_cacheinfo.c')
| -rw-r--r-- | arch/x86/kernel/cpu/intel_cacheinfo.c | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/arch/x86/kernel/cpu/intel_cacheinfo.c b/arch/x86/kernel/cpu/intel_cacheinfo.c index 3f46afbb1cf1..68b5d8681cbb 100644 --- a/arch/x86/kernel/cpu/intel_cacheinfo.c +++ b/arch/x86/kernel/cpu/intel_cacheinfo.c | |||
| @@ -644,20 +644,17 @@ static inline ssize_t show_shared_cpu_list(struct _cpuid4_info *leaf, char *buf) | |||
| 644 | return show_shared_cpu_map_func(leaf, 1, buf); | 644 | return show_shared_cpu_map_func(leaf, 1, buf); |
| 645 | } | 645 | } |
| 646 | 646 | ||
| 647 | static ssize_t show_type(struct _cpuid4_info *this_leaf, char *buf) { | 647 | static ssize_t show_type(struct _cpuid4_info *this_leaf, char *buf) |
| 648 | switch(this_leaf->eax.split.type) { | 648 | { |
| 649 | case CACHE_TYPE_DATA: | 649 | switch (this_leaf->eax.split.type) { |
| 650 | case CACHE_TYPE_DATA: | ||
| 650 | return sprintf(buf, "Data\n"); | 651 | return sprintf(buf, "Data\n"); |
| 651 | break; | 652 | case CACHE_TYPE_INST: |
| 652 | case CACHE_TYPE_INST: | ||
| 653 | return sprintf(buf, "Instruction\n"); | 653 | return sprintf(buf, "Instruction\n"); |
| 654 | break; | 654 | case CACHE_TYPE_UNIFIED: |
| 655 | case CACHE_TYPE_UNIFIED: | ||
| 656 | return sprintf(buf, "Unified\n"); | 655 | return sprintf(buf, "Unified\n"); |
| 657 | break; | 656 | default: |
| 658 | default: | ||
| 659 | return sprintf(buf, "Unknown\n"); | 657 | return sprintf(buf, "Unknown\n"); |
| 660 | break; | ||
| 661 | } | 658 | } |
| 662 | } | 659 | } |
| 663 | 660 | ||
