aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/io.h
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2009-10-06 21:22:29 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-10-10 21:51:47 +0900
commitedd7de803c79c7df117bf3f0e22ffdba1b1ef256 (patch)
tree2cbb72fd1b232a54a3accd50115f3c3474b5e611 /arch/sh/include/asm/io.h
parentsh: Make most PMB functions static (diff)
downloadlinux-dev-edd7de803c79c7df117bf3f0e22ffdba1b1ef256.tar.xz
linux-dev-edd7de803c79c7df117bf3f0e22ffdba1b1ef256.zip
sh: Get rid of the kmem cache code
Unfortunately, at the time during in boot when we want to be setting up the PMB entries, the kmem subsystem hasn't been initialised. We now match pmb_map slots with pmb_entry_list slots. When we find an empty slot in pmb_map, we set the bit, thereby acquiring the corresponding pmb_entry_list entry. There is a benefit in using this static array of struct pmb_entry's; we don't need to acquire any locks in order to traverse the list of struct pmb_entry's. Signed-off-by: Matt Fleming <matt@console-pimps.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/io.h')
0 files changed, 0 insertions, 0 deletions