datapath: Add compat functions for pr_*.
authorJesse Gross <jesse@nicira.com>
Mon, 30 Aug 2010 17:56:49 +0000 (10:56 -0700)
committerJesse Gross <jesse@nicira.com>
Mon, 30 Aug 2010 20:23:08 +0000 (13:23 -0700)
commit717d33b99ee3a35f8160c6551931154d3a062910
tree9e82837738a23dd4509f91eed46e91b571689d6a
parentd295e8e97acae13552a5b220d3fbcff8201064a2
datapath: Add compat functions for pr_*.

In the earliest kernels that we support this family of macros
wasn't defined at all.  Later they were defined but did not include
the module name.  Finally, pr_warn was made a synonym for pr_warning.
This harmonizes the behavior across all kernels.

Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux-2.6/compat-2.6/include/linux/kernel.h