summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/shmparam.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-05-09 19:20:43 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-05-09 22:00:57 +0530
commit5bba49f5397c012d873c73860ad7b50c526e613b (patch)
treebcea4107858b117c7bd063ca3e90c0cc1773f636 /arch/arc/include/asm/shmparam.h
parentde2a852cc0d4c4d6a9c22a597c9cc231f2e6ceb4 (diff)
downloadtalos-op-linux-5bba49f5397c012d873c73860ad7b50c526e613b.tar.gz
talos-op-linux-5bba49f5397c012d873c73860ad7b50c526e613b.zip
ARC: [mm] Aliasing VIPT dcache support 4/4
Enforce congruency of userspace shared mappings Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/shmparam.h')
-rw-r--r--arch/arc/include/asm/shmparam.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arc/include/asm/shmparam.h b/arch/arc/include/asm/shmparam.h
new file mode 100644
index 000000000000..fffeecc04270
--- /dev/null
+++ b/arch/arc/include/asm/shmparam.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __ARC_ASM_SHMPARAM_H
+#define __ARC_ASM_SHMPARAM_H
+
+/* Handle upto 2 cache bins */
+#define SHMLBA (2 * PAGE_SIZE)
+
+/* Enforce SHMLBA in shmat */
+#define __ARCH_FORCE_SHMLBA
+
+#endif
OpenPOWER on IntegriCloud