diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-08-18 15:21:40 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-08-20 10:28:32 +1000 |
commit | 797a747a82e23530ee45d2927bf84f3571c1acb2 (patch) | |
tree | 1d198cf33c42d91b87116ea48dff71327f7bddae /arch/powerpc/sysdev | |
parent | 433abcdf321322495d83c8b571bdf7134622c734 (diff) | |
download | kernel_samsung_crespo-797a747a82e23530ee45d2927bf84f3571c1acb2.zip kernel_samsung_crespo-797a747a82e23530ee45d2927bf84f3571c1acb2.tar.gz kernel_samsung_crespo-797a747a82e23530ee45d2927bf84f3571c1acb2.tar.bz2 |
powerpc/mm: Fix assert_pte_locked to work properly on uniprocessor
Since the pte_lockptr is a spinlock it gets optimized away on
uniprocessor builds so using spin_is_locked is not correct. We can use
assert_spin_locked instead and get the proper behavior between UP and
SMP builds.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev')
0 files changed, 0 insertions, 0 deletions