mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-24 19:40:21 +09:00
Merge tag 'v6.1.71' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidg12-6.1.y
This is the 6.1.71 stable release Change-Id: I98e80dbe464f158a59053f6f9643eee1747415cd
This commit is contained in:
@@ -565,7 +565,7 @@ struct request_queue {
|
||||
#define QUEUE_FLAG_NOXMERGES 9 /* No extended merges */
|
||||
#define QUEUE_FLAG_ADD_RANDOM 10 /* Contributes to random pool */
|
||||
#define QUEUE_FLAG_SAME_FORCE 12 /* force complete on same CPU */
|
||||
#define QUEUE_FLAG_HW_WC 18 /* Write back caching supported */
|
||||
#define QUEUE_FLAG_HW_WC 13 /* Write back caching supported */
|
||||
#define QUEUE_FLAG_INIT_DONE 14 /* queue is initialized */
|
||||
#define QUEUE_FLAG_STABLE_WRITES 15 /* don't modify blks until WB is done */
|
||||
#define QUEUE_FLAG_POLL 16 /* IO polling enabled if set */
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
#define SYMBOL_CRC(sym, crc, sec) \
|
||||
asm(".section \"___kcrctab" sec "+" #sym "\",\"a\"" "\n" \
|
||||
".balign 4" "\n" \
|
||||
"__crc_" #sym ":" "\n" \
|
||||
".long " #crc "\n" \
|
||||
".previous" "\n")
|
||||
|
||||
@@ -879,8 +879,17 @@ static inline bool module_sig_ok(struct module *module)
|
||||
}
|
||||
#endif /* CONFIG_MODULE_SIG */
|
||||
|
||||
#if defined(CONFIG_MODULES) && defined(CONFIG_KALLSYMS)
|
||||
int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *,
|
||||
struct module *, unsigned long),
|
||||
void *data);
|
||||
#else
|
||||
static inline int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *,
|
||||
struct module *, unsigned long),
|
||||
void *data)
|
||||
{
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
#endif /* CONFIG_MODULES && CONFIG_KALLSYMS */
|
||||
|
||||
#endif /* _LINUX_MODULE_H */
|
||||
|
||||
@@ -57,12 +57,18 @@ static inline int user_path_at(int dfd, const char __user *name, unsigned flags,
|
||||
return user_path_at_empty(dfd, name, flags, path, NULL);
|
||||
}
|
||||
|
||||
struct dentry *lookup_one_qstr_excl(const struct qstr *name,
|
||||
struct dentry *base,
|
||||
unsigned int flags);
|
||||
extern int kern_path(const char *, unsigned, struct path *);
|
||||
|
||||
extern struct dentry *kern_path_create(int, const char *, struct path *, unsigned int);
|
||||
extern struct dentry *user_path_create(int, const char __user *, struct path *, unsigned int);
|
||||
extern void done_path_create(struct path *, struct dentry *);
|
||||
extern struct dentry *kern_path_locked(const char *, struct path *);
|
||||
int vfs_path_parent_lookup(struct filename *filename, unsigned int flags,
|
||||
struct path *parent, struct qstr *last, int *type,
|
||||
const struct path *root);
|
||||
|
||||
extern struct dentry *try_lookup_one_len(const char *, struct dentry *, int);
|
||||
extern struct dentry *lookup_one_len(const char *, struct dentry *, int);
|
||||
@@ -81,6 +87,7 @@ extern int follow_down(struct path *);
|
||||
extern int follow_up(struct path *);
|
||||
|
||||
extern struct dentry *lock_rename(struct dentry *, struct dentry *);
|
||||
extern struct dentry *lock_rename_child(struct dentry *, struct dentry *);
|
||||
extern void unlock_rename(struct dentry *, struct dentry *);
|
||||
|
||||
extern int __must_check nd_jump_link(const struct path *path);
|
||||
|
||||
@@ -32,7 +32,12 @@ enum dev_dma_attr {
|
||||
DEV_DMA_COHERENT,
|
||||
};
|
||||
|
||||
struct fwnode_handle *dev_fwnode(const struct device *dev);
|
||||
const struct fwnode_handle *__dev_fwnode_const(const struct device *dev);
|
||||
struct fwnode_handle *__dev_fwnode(struct device *dev);
|
||||
#define dev_fwnode(dev) \
|
||||
_Generic((dev), \
|
||||
const struct device *: __dev_fwnode_const, \
|
||||
struct device *: __dev_fwnode)(dev)
|
||||
|
||||
bool device_property_present(struct device *dev, const char *propname);
|
||||
int device_property_read_u8_array(struct device *dev, const char *propname,
|
||||
|
||||
@@ -263,6 +263,26 @@ static inline void *spi_get_drvdata(struct spi_device *spi)
|
||||
return dev_get_drvdata(&spi->dev);
|
||||
}
|
||||
|
||||
static inline u8 spi_get_chipselect(const struct spi_device *spi, u8 idx)
|
||||
{
|
||||
return spi->chip_select;
|
||||
}
|
||||
|
||||
static inline void spi_set_chipselect(struct spi_device *spi, u8 idx, u8 chipselect)
|
||||
{
|
||||
spi->chip_select = chipselect;
|
||||
}
|
||||
|
||||
static inline struct gpio_desc *spi_get_csgpiod(const struct spi_device *spi, u8 idx)
|
||||
{
|
||||
return spi->cs_gpiod;
|
||||
}
|
||||
|
||||
static inline void spi_set_csgpiod(struct spi_device *spi, u8 idx, struct gpio_desc *csgpiod)
|
||||
{
|
||||
spi->cs_gpiod = csgpiod;
|
||||
}
|
||||
|
||||
struct spi_message;
|
||||
|
||||
/**
|
||||
@@ -1515,6 +1535,9 @@ extern void spi_unregister_device(struct spi_device *spi);
|
||||
extern const struct spi_device_id *
|
||||
spi_get_device_id(const struct spi_device *sdev);
|
||||
|
||||
extern const void *
|
||||
spi_get_device_match_data(const struct spi_device *sdev);
|
||||
|
||||
static inline bool
|
||||
spi_transfer_is_last(struct spi_controller *ctlr, struct spi_transfer *xfer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user