internal.h (fe896d1878949ea92ba547587bc3075cc688fb8f) | internal.h (1170532bb49f9468aedabdc1d5a560e2521a2bcc) |
---|---|
1/* internal.h: mm/ internal definitions 2 * 3 * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 372 unchanged lines hidden (view full) --- 381#ifdef CONFIG_DEBUG_MEMORY_INIT 382 383extern int mminit_loglevel; 384 385#define mminit_dprintk(level, prefix, fmt, arg...) \ 386do { \ 387 if (level < mminit_loglevel) { \ 388 if (level <= MMINIT_WARNING) \ | 1/* internal.h: mm/ internal definitions 2 * 3 * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 372 unchanged lines hidden (view full) --- 381#ifdef CONFIG_DEBUG_MEMORY_INIT 382 383extern int mminit_loglevel; 384 385#define mminit_dprintk(level, prefix, fmt, arg...) \ 386do { \ 387 if (level < mminit_loglevel) { \ 388 if (level <= MMINIT_WARNING) \ |
389 printk(KERN_WARNING "mminit::" prefix " " fmt, ##arg); \ | 389 pr_warn("mminit::" prefix " " fmt, ##arg); \ |
390 else \ 391 printk(KERN_DEBUG "mminit::" prefix " " fmt, ##arg); \ 392 } \ 393} while (0) 394 395extern void mminit_verify_pageflags_layout(void); 396extern void mminit_verify_zonelist(void); 397#else --- 83 unchanged lines hidden --- | 390 else \ 391 printk(KERN_DEBUG "mminit::" prefix " " fmt, ##arg); \ 392 } \ 393} while (0) 394 395extern void mminit_verify_pageflags_layout(void); 396extern void mminit_verify_zonelist(void); 397#else --- 83 unchanged lines hidden --- |