summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds2012-11-09 06:53:02 +0100
committerLinus Torvalds2012-11-09 06:53:02 +0100
commitce6d841e9c0e177a594615dc0e69dd04972a696c (patch)
tree61c24c2dcd481502fdc0250407918469b5298a61 /arch
parentMerge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (diff)
parenth8300: add missing L1_CACHE_SHIFT (diff)
downloadkernel-qcow2-linux-ce6d841e9c0e177a594615dc0e69dd04972a696c.tar.gz
kernel-qcow2-linux-ce6d841e9c0e177a594615dc0e69dd04972a696c.tar.xz
kernel-qcow2-linux-ce6d841e9c0e177a594615dc0e69dd04972a696c.zip
Merge branch 'akpm' (Fixes from Andrew)
Merge misc fixes from Andrew Morton: "Five fixes" * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (5 patches) h8300: add missing L1_CACHE_SHIFT mm: bugfix: set current->reclaim_state to NULL while returning from kswapd() fanotify: fix missing break revert "epoll: support for disabling items, and a self-test app" checkpatch: improve network block comment style checking
Diffstat (limited to 'arch')
-rw-r--r--arch/h8300/include/asm/cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/h8300/include/asm/cache.h b/arch/h8300/include/asm/cache.h
index c6350283649d..05887a1d80e5 100644
--- a/arch/h8300/include/asm/cache.h
+++ b/arch/h8300/include/asm/cache.h
@@ -2,7 +2,8 @@
#define __ARCH_H8300_CACHE_H
/* bytes per L1 cache line */
-#define L1_CACHE_BYTES 4
+#define L1_CACHE_SHIFT 2
+#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
/* m68k-elf-gcc 2.95.2 doesn't like these */