aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-05-19 13:34:20 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-19 13:34:20 -0700
commit711f77f53c5ff6aa61dbe8e5f518e50d6306e89d (patch)
tree93bc99051b26586916a628b1a276543085f80ff2 /arch/sparc/include
parentMerge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci (diff)
parentsparc: Define ARCH_SLAB_MINALIGN (diff)
downloadlinux-dev-711f77f53c5ff6aa61dbe8e5f518e50d6306e89d.tar.xz
linux-dev-711f77f53c5ff6aa61dbe8e5f518e50d6306e89d.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6: sparc: Define ARCH_SLAB_MINALIGN drivers/sbus/char/flash.c: flash_read should update ppos instead of file->f_pos sparc64: Fix stack dumping and tracing when function graph is enabled. sparc64: Show stack backtrace from show_regs() just like other platforms.
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/cache.h b/arch/sparc/include/asm/cache.h
index 41f85ae4bd4a..78b07009f60a 100644
--- a/arch/sparc/include/asm/cache.h
+++ b/arch/sparc/include/asm/cache.h
@@ -7,6 +7,8 @@
#ifndef _SPARC_CACHE_H
#define _SPARC_CACHE_H
+#define ARCH_SLAB_MINALIGN __alignof__(unsigned long long)
+
#define L1_CACHE_SHIFT 5
#define L1_CACHE_BYTES 32
#define L1_CACHE_ALIGN(x) ((((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1)))