diff options
author | David S. Miller <davem@davemloft.net> | 2011-08-02 23:23:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-03 00:28:53 -0400 |
commit | 56d205cc5c0a3032a605121d4253e111193bf923 (patch) | |
tree | 1e37a74fd6df18ec35a9d6a1f70eca2e649e4afb /arch/sparc/kernel/entry.h | |
parent | ea5e7447ea9d555558e0f13798f5143dd51a915a (diff) |
sparc: Use popc when possible for ffs/__ffs/ffz.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/entry.h')
-rw-r--r-- | arch/sparc/kernel/entry.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sparc/kernel/entry.h b/arch/sparc/kernel/entry.h index 16d1545d84fc..e27f8ea8656e 100644 --- a/arch/sparc/kernel/entry.h +++ b/arch/sparc/kernel/entry.h | |||
@@ -49,6 +49,13 @@ struct popc_3insn_patch_entry { | |||
49 | extern struct popc_3insn_patch_entry __popc_3insn_patch, | 49 | extern struct popc_3insn_patch_entry __popc_3insn_patch, |
50 | __popc_3insn_patch_end; | 50 | __popc_3insn_patch_end; |
51 | 51 | ||
52 | struct popc_6insn_patch_entry { | ||
53 | unsigned int addr; | ||
54 | unsigned int insns[6]; | ||
55 | }; | ||
56 | extern struct popc_6insn_patch_entry __popc_6insn_patch, | ||
57 | __popc_6insn_patch_end; | ||
58 | |||
52 | extern void __init per_cpu_patch(void); | 59 | extern void __init per_cpu_patch(void); |
53 | extern void __init sun4v_patch(void); | 60 | extern void __init sun4v_patch(void); |
54 | extern void __init boot_cpu_id_too_large(int cpu); | 61 | extern void __init boot_cpu_id_too_large(int cpu); |