aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2015-11-11 15:24:46 -0800
committerKevin Hilman <khilman@linaro.org>2015-11-11 15:24:46 -0800
commit6679a18a14a4ff9fae7fb0ee554e7161619308ad (patch)
tree92d5c10caec1803ee98447eac09892e713956523 /include
parentc9e5228eb9632625c04800dcbd2a83dc0542fbce (diff)
parent24dc742abc1fa4f953b42750ec08e3ec4586de42 (diff)
Merge branch 'v3.18/topic/aosp' into linux-linaro-lsk-v3.18-android
* v3.18/topic/aosp: (25 commits) wakeup: Add the guard condition for len in pm_get_active_wakeup_sources CHROMIUM: android: Unconditionally remove callbacks in sync_fence_free() CHROMIUM: android: fix warning when releasing active sync point mm: reorder can_do_mlock to fix audit denial staging: ion: debugfs to shrink pool usb: gadget: configfs: handle gadget reset request for android Enable adb with android-pipe in IA image selinux: Android kernel compatibility with M userspace selinux: extended permissions for ioctls security: add ioctl specific auditing to lsm_audit selinux: remove unnecessary pointer reassignment Revert "security: lsm_audit: add ioctl specific auditing" Revert "SELinux: per-command whitelisting of ioctls" Revert "SELinux: use deletion-safe iterator to free list" Revert "SELinux: ss: Fix policy write for ioctl operations" android: add CONFIG_DEBUG_RODATA to recommended config arm: mm: support ARCH_MMAP_RND_BITS. mm: mmap: Add new /proc tunable for mmap_base ASLR. Don't kill IPv4 sockets when killing IPv6 sockets was requested. uid_cputime: Check for the range while removing range of UIDs. ... Conflicts: drivers/usb/gadget/Kconfig Conflict due to android-3.18 merge trying to sneak in Android Composite Gadget "USB_G_ANDROID" changes into drivers/usb/gadget/Kconfig which we have already moved to drivers/usb/gadget/legacy/Kconfig during last restructuring. Resolution (as recommended by Amit Pundir) Delete "USB_G_ANDROID" and dependent config option and keep only USB_CONFIGFS_F_MIDI specific changes from AOSP commit 2ccf4f4f216f "usb: gadget: Remove circular dependency on Config".
Diffstat (limited to 'include')
-rw-r--r--include/linux/fence.h2
-rw-r--r--include/linux/mm.h6
2 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/fence.h b/include/linux/fence.h
index d174585b874b..1c94759e7148 100644
--- a/include/linux/fence.h
+++ b/include/linux/fence.h
@@ -107,6 +107,7 @@ struct fence_cb {
* @get_driver_name: returns the driver name.
* @get_timeline_name: return the name of the context this fence belongs to.
* @enable_signaling: enable software signaling of fence.
+ * @disable_signaling: disable software signaling of fence (optional).
* @signaled: [optional] peek whether the fence is signaled, can be null.
* @wait: custom wait implementation, or fence_default_wait.
* @release: [optional] called on destruction of fence, can be null
@@ -166,6 +167,7 @@ struct fence_ops {
const char * (*get_driver_name)(struct fence *fence);
const char * (*get_timeline_name)(struct fence *fence);
bool (*enable_signaling)(struct fence *fence);
+ void (*disable_signaling)(struct fence *fence);
bool (*signaled)(struct fence *fence);
signed long (*wait)(struct fence *fence, bool intr, signed long timeout);
void (*release)(struct fence *fence);
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 8fae7d6e9a1f..e65c2870abb3 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -48,6 +48,12 @@ extern int sysctl_legacy_va_layout;
#define sysctl_legacy_va_layout 0
#endif
+#ifdef CONFIG_ARCH_MMAP_RND_BITS
+extern int mmap_rnd_bits_min;
+extern int mmap_rnd_bits_max;
+extern int mmap_rnd_bits;
+#endif
+
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/processor.h>