OSDN Git Service

h8300: add missing L1_CACHE_SHIFT
authorFengguang Wu <fengguang.wu@intel.com>
Thu, 8 Nov 2012 23:53:41 +0000 (15:53 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 9 Nov 2012 05:41:47 +0000 (06:41 +0100)
commit6893f5675f54d6452aded27f9a1d5e86a3bddcbe
tree679839d42da4dfdbe2a1c1c164ed1dfc7220aa39
parentb0a8cc58e6b9aaae3045752059e5e6260c0b94bc
h8300: add missing L1_CACHE_SHIFT

Fix the build error

  lib/atomic64.c: In function 'lock_addr':
  lib/atomic64.c:40:11: error: 'L1_CACHE_SHIFT' undeclared (first use in this function)
  lib/atomic64.c:40:11: note: each undeclared identifier is reported only once for each function it appears in

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/h8300/include/asm/cache.h