Title: [8897] trunk/fs/binfmt_flat.c: flat: fix build failure due to 2.6.34/2.6.35 differences
- Revision
- 8897
- Author
- vapier
- Date
- 2010-06-07 05:21:44 -0400 (Mon, 07 Jun 2010)
Log Message
flat: fix build failure due to 2.6.34/2.6.35 differences
Modified Paths
Diff
Modified: trunk/fs/binfmt_flat.c (8896 => 8897)
--- trunk/fs/binfmt_flat.c 2010-06-07 08:50:32 UTC (rev 8896)
+++ trunk/fs/binfmt_flat.c 2010-06-07 09:21:44 UTC (rev 8897)
@@ -69,6 +69,9 @@
* Here we can be a bit looser than the data sections since this
* needs to only meet arch ABI requirements.
*/
+#ifndef ARCH_SLAB_MINALIGN /* glue between 2.6.34 and 2.6.35 */
+# define ARCH_SLAB_MINALIGN 0
+#endif
#define FLAT_STACK_ALIGN max_t(unsigned long, sizeof(void *), ARCH_SLAB_MINALIGN)
#define RELOC_FAILED 0xff00ff01 /* Relocation incorrect somewhere */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits