Skip to content

Commit

Permalink
um: add asm/percpu.h
Browse files Browse the repository at this point in the history
To make SLUB work on UML we need this_cpu_cmpxchg from
asm-generic/percpu.h.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Richard Weinberger authored and Linus Torvalds committed Jun 28, 2011
1 parent 31c1771 commit 8c95aa6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/um/include/asm/percpu.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#ifndef __UM_PERCPU_H
#define __UM_PERCPU_H

#include <asm-generic/percpu.h>

#endif /* __UM_PERCPU_H */

0 comments on commit 8c95aa6

Please sign in to comment.