[PATCH 5/16] CRIS architecture: Correct compile errors



Include file linux/compiler.h is needed for 'likely'.

Signed-off-by: Jesper Nilsson <jesper.nilsson@xxxxxxxx>

---
atomic.h | 1 +
1 file changed, 1 insertion(+)

diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/include/asm-cris/atomic.h linux-2.6.23/include/asm-cris/atomic.h
--- clean_linux-2.6.23/include/asm-cris/atomic.h 2007-10-09 22:31:38.000000000 +0200
+++ linux-2.6.23/include/asm-cris/atomic.h 2007-10-22 10:32:54.000000000 +0200
@@ -5,6 +5,7 @@

#include <asm/system.h>
#include <asm/arch/atomic.h>
+#include <linux/compiler.h>

/*
* Atomic operations that C can't guarantee us. Useful for
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@xxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • 2.6.23-rc1: BUG_ON in kmap_atomic_prot()
    ... Managed to hit BUG_ONin kmap_atomic_protthree times while doing ... guarantee, one time while trying to reproduce via ./configure in gdb ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [patch]x86: arch_add_memory round up address
    ... No, this still can't guarantee page aligned, though this works in my ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: memcpy_toio on i386 using byte writes even when n%2==0
    ... necessarily a bug. ... There's no guarantee of what size writes will be used ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [PATCH] Fix race between attach_task and cpuset_exit
    ... atomic operations, atomic_decand atomic_readbelow. ... This would also seem to address the race I just noticed in my previous ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: PCI DAC DMA APIs
    ... be objections to remove all of these? ... any users is almost a guarantee for bitrot. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)