/****************************************************************************** * features.h * * Query the features reported by Xen. * * Copyright (c) 2006, Ian Campbell */ #ifndef __XEN_FEATURES_H__ #define __XEN_FEATURES_H__ #include void xen_setup_features(void); extern u8 xen_features[XENFEAT_NR_SUBMAPS * 32]; static inline int xen_feature(int flag) { return xen_features[flag]; } #endif /* __ASM_XEN_FEATURES_H__ */ y'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gordon <david.s.gordon@intel.com>2016-06-13 17:57:29 +0100
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2016-06-14 15:04:07 +0100
commit072a21cfe0914d0fea771b7d20713248d2d794aa (patch)
treed4ff7a2bf83c816842a5ae6e45f569a9581175f7
parent9636f6dbba1dbded9741b2c21fb751d266016681 (diff)
drm/i915/guc: prefer __set/clear_bit() to bitmap_set/clear()
Bitmap operators are overkill when touching only one bit. Signed-off-by: Dave Gordon <david.s.gordon@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
-rw-r--r--drivers/gpu/drm/i915/i915_guc_submission.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_guc_submission.c b/drivers/gpu/drm/i915/i915_guc_submission.c