/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _FS_CEPH_DEBUG_H #define _FS_CEPH_DEBUG_H #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include #ifdef CONFIG_CEPH_LIB_PRETTYDEBUG /* * wrap pr_debug to include a filename:lineno prefix on each line. * this incurs some overhead (kernel size and execution time) due to * the extra function call at each call site. */ # if defined(DEBUG) || defined(CONFIG_DYNAMIC_DEBUG) # define dout(fmt, ...) \ pr_debug("%.*s %12.12s:%-4d : " fmt, \ 8 - (int)sizeof(KBUILD_MODNAME), " ", \ kbasename(__FILE__), __LINE__, ##__VA_ARGS__) # else /* faux printk call just to see any compiler warnings. */ # define dout(fmt, ...) do { \ if (0) \ printk(KERN_DEBUG fmt, ##__VA_ARGS__); \ } while (0) # endif #else /* * or, just wrap pr_debug */ # define dout(fmt, ...) pr_debug(" " fmt, ##__VA_ARGS__) #endif #endif x-2.6.11.y Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/include/linux/platform_device.h
AgeCommit message (Expand)Author
2011-07-08driver core: Add ability for arch code to setup pdev_archdataKumar Gala
2011-05-16PM: Revert "driver core: platform_bus: allow runtime override of dev_pm_ops"Kevin Hilman
2011-04-29PM: Export platform bus type's default PM callbacksRafael J. Wysocki
2011-04-12mfd: Fetch cell pointer from platform_device->mfd_cellSamuel Ortiz
2011-02-18Driver core: convert platform_{get,set}_drvdata to static inline functionsMarc Kleine-Budde
2010-10-22driver core: platform_bus: allow runtime override of dev_pm_opsKevin Hilman
2010-08-05Driver core: reduce duplicated code for platform_device creationUwe Kleine-König
2010-05-17platform: Make platform resource input parameters constGeert Uytterhoeven
2010-03-07Driver core: make struct platform_driver.id_table constUwe Kleine-König
2010-03-07driver core: make platform_device_id table constEric Miao
2010-03-07Driver core: add platform_create_bundle() helperDmitry Torokhov
2009-12-11Driver Core: Early platform driver bufferMagnus Damm
2009-07-22PM: Remove platform device suspend_late()/resume_early() V2Magnus Damm
2009-07-22Driver Core: Add platform device arch data V3Magnus Damm
2009-06-15driver core: Const-correct platform getbyname functionsLinus Walleij
2009-05-08Revert driver core: move platform_data into platform_deviceGreg Kroah-Hartman
2009-04-16Driver Core: early platform driverMagnus Damm
2009-03-24driver core: move platform_data into platform_deviceMing Lei
2009-03-24platform: introduce module id table for platform devicesEric Miao