|
@@ -14,6 +14,7 @@
|
|
|
#include <linux/input.h>
|
|
|
#include <linux/delay.h>
|
|
|
#include <linux/bitops.h>
|
|
|
+#include <linux/mm.h>
|
|
|
#include "pcsp_input.h"
|
|
|
#include "pcsp.h"
|
|
|
|
|
@@ -148,11 +149,11 @@ static int alsa_card_pcsp_init(struct device *dev)
|
|
|
return err;
|
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_DEBUG_PAGEALLOC
|
|
|
/* Well, CONFIG_DEBUG_PAGEALLOC makes the sound horrible. Lets alert */
|
|
|
- printk(KERN_WARNING "PCSP: CONFIG_DEBUG_PAGEALLOC is enabled, "
|
|
|
- "which may make the sound noisy.\n");
|
|
|
-#endif
|
|
|
+ if (debug_pagealloc_enabled()) {
|
|
|
+ printk(KERN_WARNING "PCSP: CONFIG_DEBUG_PAGEALLOC is enabled, "
|
|
|
+ "which may make the sound noisy.\n");
|
|
|
+ }
|
|
|
|
|
|
return 0;
|
|
|
}
|