]> git.ipfire.org Git - people/arne_f/kernel.git/commit
x86, mrst: A function in a header file needs to be marked "inline"
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 7 Oct 2010 23:42:54 +0000 (16:42 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Nov 2010 19:03:03 +0000 (11:03 -0800)
commitfaee3f8d2565b40f9d9c17b6aebd238275bd7397
tree03d4fc06102c4f856a04563384ead1333b4dd2e2
parentfda2027cf4356022698e51be3124a5b29d0c7ca3
x86, mrst: A function in a header file needs to be marked "inline"

commit 55572b293b3a5929e8c54bc91d14ae6264186bf6 upstream.

A function in a header file needs to be explicitly marked "inline", or
gcc will complain if it is not used.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
LKML-Reference: <1274295685-6774-3-git-send-email-jacob.jun.pan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/include/asm/mrst.h