UML - update atomic.h so UML builds cleanly
PATCH 1/1 UML - update atomic.h so UML builds cleanly
The comment should be self-explanatory. This works around a pile of nasty-looking build output.
Signed-off-by Jeff Dike <[email protected]>
include/asm-um/atomic.h +5 -0
@@ -1,6 +1,11 @@#ifndef __UM_ATOMIC_H#define __UM_ATOMIC_H +/* The i386 atomic.h calls printk, but doesn't include kernel.h, so we +* include it here. +*/ +#include "linux/kernel.h" +#include "asm/arch/atomic.h" #endif