diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:11:16 +0000 |
---|---|---|
committer | Andy Green <andy@openmoko.com> | 2008-11-19 17:11:16 +0000 |
commit | 67ac1095bb91e19087eb5b6ed414be9205711377 (patch) | |
tree | 7f27f1f9b76a94e61742a519fb43099164234bfa | |
parent | ab35666f325edfc7fe727a0bacc64b08499d25e0 (diff) |
workaround-6410-android-binder-VIPT-undefined.patch
Signed-off-by: Andy Green <andy@openmoko.com>
-rw-r--r-- | drivers/android/binder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c index 597578b7dfb..a6a8380c6d1 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -2692,7 +2692,7 @@ static int binder_mmap(struct file *filp, struct vm_area_struct *vma) proc->buffer = area->addr; proc->user_buffer_offset = vma->vm_start - (size_t)proc->buffer; -#ifdef CONFIG_CPU_CACHE_VIPT +#if defined(CONFIG_CPU_CACHE_VIPT) && !defined(CONFIG_CPU_S3C6410) if (cache_is_vipt_aliasing()) { while (CACHE_COLOUR((vma->vm_start ^ (uint32_t)proc->buffer))) { printk(KERN_INFO "binder_mmap: %d %lx-%lx maps %p bad alignment\n", proc->pid, vma->vm_start, vma->vm_end, proc->buffer); |