1. 24 8月, 2009 1 次提交
  2. 06 8月, 2009 2 次提交
  3. 20 7月, 2009 15 次提交
  4. 22 4月, 2009 1 次提交
    • D
      FRV: Fix the section attribute on UP DECLARE_PER_CPU() · 9b8de747
      David Howells 提交于
      In non-SMP mode, the variable section attribute specified by DECLARE_PER_CPU()
      does not agree with that specified by DEFINE_PER_CPU().  This means that
      architectures that have a small data section references relative to a base
      register may throw up linkage errors due to too great a displacement between
      where the base register points and the per-CPU variable.
      
      On FRV, the .h declaration says that the variable is in the .sdata section, but
      the .c definition says it's actually in the .data section.  The linker throws
      up the following errors:
      
      kernel/built-in.o: In function `release_task':
      kernel/exit.c:78: relocation truncated to fit: R_FRV_GPREL12 against symbol `per_cpu__process_counts' defined in .data section in kernel/built-in.o
      kernel/exit.c:78: relocation truncated to fit: R_FRV_GPREL12 against symbol `per_cpu__process_counts' defined in .data section in kernel/built-in.o
      
      To fix this, DECLARE_PER_CPU() should simply apply the same section attribute
      as does DEFINE_PER_CPU().  However, this is made slightly more complex by
      virtue of the fact that there are several variants on DEFINE, so these need to
      be matched by variants on DECLARE.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9b8de747
  5. 10 4月, 2009 11 次提交
  6. 02 4月, 2009 3 次提交
  7. 04 3月, 2009 1 次提交
    • R
      rds: fix iband RDMA dependencies · abb79972
      Randy Dunlap 提交于
      Fix RDS Infiniband dependencies for RDMA so that these
      build errors won't happen:
      
      ERROR: "rdma_accept" [net/rds/rds.ko] undefined!
      ERROR: "rdma_destroy_id" [net/rds/rds.ko] undefined!
      ERROR: "rdma_connect" [net/rds/rds.ko] undefined!
      ERROR: "rdma_destroy_qp" [net/rds/rds.ko] undefined!
      ERROR: "rdma_listen" [net/rds/rds.ko] undefined!
      ERROR: "rdma_notify" [net/rds/rds.ko] undefined!
      ERROR: "rdma_create_id" [net/rds/rds.ko] undefined!
      ERROR: "rdma_create_qp" [net/rds/rds.ko] undefined!
      ERROR: "rdma_bind_addr" [net/rds/rds.ko] undefined!
      ERROR: "rdma_resolve_route" [net/rds/rds.ko] undefined!
      ERROR: "rdma_disconnect" [net/rds/rds.ko] undefined!
      ERROR: "rdma_reject" [net/rds/rds.ko] undefined!
      ERROR: "rdma_resolve_addr" [net/rds/rds.ko] undefined!
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Acked-by: NAndy Grover <andy.grover@oracle.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      abb79972
  8. 02 3月, 2009 1 次提交
    • D
      rds: Fix build on powerpc. · c3b32404
      David S. Miller 提交于
      As reported by Stephen Rothwell.
      
      > Today's linux-next build (powerpc allyesconfig) failed like this:
      >
      > net/rds/cong.c: In function 'rds_cong_set_bit':
      > net/rds/cong.c:284: error: implicit declaration of function 'generic___set_le_bit'
      > net/rds/cong.c: In function 'rds_cong_clear_bit':
      > net/rds/cong.c:298: error: implicit declaration of function 'generic___clear_le_bit'
      > net/rds/cong.c: In function 'rds_cong_test_bit':
      > net/rds/cong.c:309: error: implicit declaration of function 'generic_test_le_bit'
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c3b32404
  9. 27 2月, 2009 5 次提交