mirror of
https://github.com/torvalds/linux.git
synced 2024-12-31 23:31:29 +00:00
Header fixes and a DocBook fix.
Signed-off-by: Ingo Molnar <mingo@kernel.org> -----BEGIN PGP SIGNATURE----- iQJFBAABCgAvFiEEBpT5eoXrXCwVQwEKEnMQ0APhK1gFAmPzbpoRHG1pbmdvQGtl cm5lbC5vcmcACgkQEnMQ0APhK1iUXw//daoNLMPL0EffCGdTtlM0th52C9MBPpqA OGXlurhCepDZek/1bKyAlK+5jqHXpMmFjk+wYWa+xPVN+FzKGzt3uGeFn/elJcYw 7/3VJkbyibzR7uUq20KPknRqZiXEQ8/ZqVW/4oC1EjAAAWYZDWJKPwkK4DsS81RX dDWHdvl8dnKkcScmYOvFMQCbsPLVx1OTinQa/SBX7S4BLqAo+EoTXSNu/LXlBHtS FkykM2MDKW+wU3HN2iYaHk8ZWiZHX9/jHK1NDv+Uf6VyXPT2bBU1A6L3vpNDfncF pXFw00pe/sK7/9RbqKPoGK9KW8KFkwLqICV44Hj81srsorKjhwGqz6YRiEHxw5CX SY2JWHleZCYK9zzjwAb+zx72OJzHs/Pn/EYgHc3nPBAag7rsKajmIB6tMuo7/YW6 cyoLAVk5szEYbvgQiAHs8KWHxNrKt8Pj77f77K38OW+emiIF8J9hzbtdN9nanHus Jg3vtJ1mPkUDKpbRhgMv/sSz7+vztm2iux346GOw55spjgWk2t1AM7RnRUSt66EW X2HE6iDqwjYCkFRCUVZHbtMHzW/dKd+ymVMDqVY+eaquMTGIw1b/5u/RYkm2i2Ic YGwxj/rrOJCjR3sPkxBkfYrnSEGj0wCHUGbXkdoFTu0v6AwuYzeL2i6vp0hXWZ/C WTPFwHr1VII= =gXpS -----END PGP SIGNATURE----- Merge tag 'x86-asm-2023-02-20' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull x86 asm updates from Ingo Molnar: "Header fixes and a DocBook fix" * tag 'x86-asm-2023-02-20' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/lib: Fix compiler and kernel-doc warnings x86/lib: Include <asm/misc.h> to fix a missing prototypes warning at build time
This commit is contained in:
commit
6be3dafc7c
@ -7,16 +7,18 @@
|
|||||||
#include <linux/string.h>
|
#include <linux/string.h>
|
||||||
#include <linux/ctype.h>
|
#include <linux/ctype.h>
|
||||||
#include <asm/setup.h>
|
#include <asm/setup.h>
|
||||||
|
#include <asm/cmdline.h>
|
||||||
|
|
||||||
static inline int myisspace(u8 c)
|
static inline int myisspace(u8 c)
|
||||||
{
|
{
|
||||||
return c <= ' '; /* Close enough approximation */
|
return c <= ' '; /* Close enough approximation */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Find a boolean option (like quiet,noapic,nosmp....)
|
* Find a boolean option (like quiet,noapic,nosmp....)
|
||||||
*
|
*
|
||||||
* @cmdline: the cmdline string
|
* @cmdline: the cmdline string
|
||||||
|
* @max_cmdline_size: the maximum size of cmdline
|
||||||
* @option: option string to look for
|
* @option: option string to look for
|
||||||
*
|
*
|
||||||
* Returns the position of that @option (starts counting with 1)
|
* Returns the position of that @option (starts counting with 1)
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
|
#include <asm/misc.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Count the digits of @val including a possible sign.
|
* Count the digits of @val including a possible sign.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user