* + bugh-add-empty-warn_on_slowpath-for-config_bug=n.patch added to -mm tree
@ 2008-07-01 20:18 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2008-07-01 20:18 UTC (permalink / raw)
To: mm-commits; +Cc: randy.dunlap, andi
The patch titled
bug.h: add empty warn_on_slowpath() for CONFIG_BUG=n
has been added to the -mm tree. Its filename is
bugh-add-empty-warn_on_slowpath-for-config_bug=n.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: bug.h: add empty warn_on_slowpath() for CONFIG_BUG=n
From: Randy Dunlap <randy.dunlap@oracle.com>
Add an empty function for warn_on_slowpath() when CONFIG_BUG=n so that
this build error does not happen:
linux-next-20080701/drivers/acpi/utilities/utmisc.c: In function 'acpi_ut_error':
linux-next-20080701/drivers/acpi/utilities/utmisc.c:1028: error: implicit declaration of function 'warn_on_slowpath'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/asm-generic/bug.h | 5 +++++
1 file changed, 5 insertions(+)
diff -puN include/asm-generic/bug.h~bugh-add-empty-warn_on_slowpath-for-config_bug=n include/asm-generic/bug.h
--- a/include/asm-generic/bug.h~bugh-add-empty-warn_on_slowpath-for-config_bug=n
+++ a/include/asm-generic/bug.h
@@ -81,4 +81,9 @@ extern void warn_on_slowpath(const char
# define WARN_ON_SMP(x) do { } while (0)
#endif
+#ifndef __ASSEMBLY__
+static inline void warn_on_slowpath(const char *file, const int line)
+{ }
+#endif
+
#endif
_
Patches currently in -mm which might be from randy.dunlap@oracle.com are
doc-kernel-parameterstxt-fix-stale-references.patch
bugh-add-empty-warn_on_slowpath-for-config_bug=n.patch
fujitsu-laptop-depends-on-input.patch
x86-mm-init_64-fix-printk-format-warning.patch
documentation-build-source-files-in-documentation-sub-dir.patch
documentation-build-source-files-in-documentation-sub-dir-disable.patch
bluetooth-hci_bcsp-fix-bitrev-kconfig.patch
8390-split-8390-support-into-a-pausing-and-a-non-pausing-driver-core.patch
8390-split-8390-support-into-a-pausing-and-a-non-pausing-driver-core-fix.patch
8390-split-8390-support-into-a-pausing-and-a-non-pausing-driver-core-fix-fix.patch
e100-fix-printk-format-warning.patch
e1000e-make-e1000e-default-to-the-same-kconfig-setting-as-e1000.patch
netfilter-conntrack_helper-needs-to-include-rculisth.patch
git-scsi-misc-fix-scsi_dh-build-errors.patch
lkdtm-fix-for-config_scsi=n.patch
git-unionfs.patch
iwlwifi-fix-build-for-config_input=n.patch
audit-fix-kernel-doc-parameter-notation.patch
vmallocinfo-add-numa-information.patch
vmallocinfo-add-numa-information-fix.patch
pm-remove-obsolete-piece-of-pm-documentation-rev-2.patch
flag-parameters-signalfd-fix.patch
flag-parameters-eventfd-fix.patch
kallsyms-unify-32-and-64-bit-code.patch
uio-howtotmpl-use-standard-copyright-legal-markings.patch
uio-howtotmpl-use-unique-output-names.patch
procfs-guide-drop-pointless-nbsp-entities.patch
bsdacct-stir-up-comments-around-acct_process.patch
documentation-cleanup-trivial-misspelling-punctuation-and-grammar-corrections.patch
profile-likely-unlikely-macros.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-01 20:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-01 20:18 + bugh-add-empty-warn_on_slowpath-for-config_bug=n.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.