Commit 043bb619 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] Fix BUG() decl warning in smp.h for UP

x86 always seems to include asm/page.h, PPC (and presumably others)
don't.
parent b43b48c0
...@@ -86,6 +86,7 @@ int cpu_up(unsigned int cpu); ...@@ -86,6 +86,7 @@ int cpu_up(unsigned int cpu);
void smp_prepare_boot_cpu(void); void smp_prepare_boot_cpu(void);
#else /* !SMP */ #else /* !SMP */
#include <asm/page.h> /* For BUG() */
/* /*
* These macros fold the SMP functionality into a single CPU system * These macros fold the SMP functionality into a single CPU system
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment