summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpufreq.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-27 21:56:57 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-01-27 21:56:57 +0900
commit08b36c4a02b5a9db609fc6d93b9c41d7fa75713c (patch)
tree3399d6e0ae71eecbf3cc348324becf536f0f1b99 /arch/sh/kernel/cpufreq.c
parent485773f3e401fca31c112c1ff24797e42ff87afd (diff)
sh: Optimize runtime disabling of trapped I/O.
Presently trapped I/O is only registered if it's not explicitly disabled for the platforms that select it openly. From the fault path this runs through an address lookup before figuring out that nothing matches and falls back through the error path, but we can forego the lookup completely by testing if it's been explicitly disabled. This provides a measurable speedup for things like qemu that rely on runtime disabling. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpufreq.c')
0 files changed, 0 insertions, 0 deletions