thumbee.c (a02001086bbfb4da35d1228bebc2f1b442db455f) | thumbee.c (4ed89f2228061422ce5f62545fd0b6f6648bd2cc) |
---|---|
1/* 2 * arch/arm/kernel/thumbee.c 3 * 4 * Copyright (C) 2008 ARM Limited 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 58 unchanged lines hidden (view full) --- 67 68 if (cpu_arch < CPU_ARCH_ARMv7) 69 return 0; 70 71 pfr0 = read_cpuid_ext(CPUID_EXT_PFR0); 72 if ((pfr0 & 0x0000f000) != 0x00001000) 73 return 0; 74 | 1/* 2 * arch/arm/kernel/thumbee.c 3 * 4 * Copyright (C) 2008 ARM Limited 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 58 unchanged lines hidden (view full) --- 67 68 if (cpu_arch < CPU_ARCH_ARMv7) 69 return 0; 70 71 pfr0 = read_cpuid_ext(CPUID_EXT_PFR0); 72 if ((pfr0 & 0x0000f000) != 0x00001000) 73 return 0; 74 |
75 printk(KERN_INFO "ThumbEE CPU extension supported.\n"); | 75 pr_info("ThumbEE CPU extension supported.\n"); |
76 elf_hwcap |= HWCAP_THUMBEE; 77 thread_register_notifier(&thumbee_notifier_block); 78 79 return 0; 80} 81 82late_initcall(thumbee_init); | 76 elf_hwcap |= HWCAP_THUMBEE; 77 thread_register_notifier(&thumbee_notifier_block); 78 79 return 0; 80} 81 82late_initcall(thumbee_init); |