On Mon, Mar 16, 2009 at 22:16,  <[email protected]> wrote:
> Disable shm for smp on bf561, because cache coherency issue.
>
> --- trunk/ipc/shm.c   2009-03-16 12:22:07 UTC (rev 6180)
> +++ trunk/ipc/shm.c   2009-03-17 02:16:05 UTC (rev 6181)
> @@ -446,6 +446,10 @@ SYSCALL_DEFINE3(shmget, key_t, key,
>       struct ipc_ops shm_ops;
>       struct ipc_params shm_params;
>
> +#if defined __ARCH_SYNC_CORE_DCACHE
> +     return -EINVAL;
> +#endif

i dont think mainline will like this.  why dont we modify _sys_shmget
in mach-common/entry.S so that it goes to _sys_ni_syscall when SMP is
enabled ?
-mike
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to