Age | Commit message (Collapse) | Author |
|
These functions are not used by any driver any more, remove them. They
were introduced for the frame vector code which was used by the media
subsystem. They also case some compile problems with kernel 4.4 which
get fixed by just removing this code.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
|
Some new code needs this, add it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
This is used in the tracing system and needed by wireless now, it was
introduced in commit 6ea22486ba46bc ("tracing: Add array printing
helper").
This code is copied from kernel 4.0.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
The first two parameters of get_user_pages_locked(),
__get_user_pages_unlocked() and get_user_pages() were removed in
upstream Linux kernel commit cde70140fe "mm/gup: Overload
get_user_pages() functions". In addition remove
__get_user_pages_unlocked() which is not used by any driver.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
|
In the kernel hex_dump_to_buffer() got an int return value, returning
the amount of bytes written into the buffer. This new return value is
needed by seq_hex_dump() which we also backport.
This change was done in the following commit in mainline Linux kernel:
commit 114fc1afb2de7dec40da137dc2a55cd38fc220f2
Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: Thu Feb 12 15:02:29 2015 -0800
hexdump: make it return number of bytes placed in buffer
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
|
The get_user_pages_locked() function is needed by the frame vector code
which will be added in the next patch. While adding that, this patch
also replaces the get_user_pages_unlocked() function with the original
version from the next kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|