This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From ce5325a1a73e6117013de84b57588a4dd4f21734 Mon Sep 17 00:00:00 2001 | |
From: Jessica Frazelle <[email protected]> | |
Date: Tue, 5 May 2015 11:14:04 -0700 | |
Subject: [PATCH] solarized | |
--- | |
config.def.h | 47 +- | |
st.c | 2415 +++++++++++++++++++++++++++++----------------------------- | |
2 files changed, 1225 insertions(+), 1237 deletions(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: nvidia-graphics-drivers/nv-pat.c | |
=================================================================== | |
--- nvidia-graphics-drivers.orig/nv-pat.c | |
+++ nvidia-graphics-drivers/nv-pat.c | |
@@ -35,8 +35,14 @@ static inline void nv_disable_caches(uns | |
unsigned long cr0 = read_cr0(); | |
write_cr0(((cr0 & (0xdfffffff)) | 0x40000000)); | |
wbinvd(); | |
+ | |
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 20, 0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: nvidia-graphics-drivers/nv-drm.c | |
=================================================================== | |
--- nvidia-graphics-drivers.orig/nv-drm.c | |
+++ nvidia-graphics-drivers/nv-drm.c | |
@@ -128,6 +128,10 @@ static struct drm_driver nv_drm_driver = | |
.gem_prime_vmap = nv_gem_prime_vmap, | |
.gem_prime_vunmap = nv_gem_prime_vunmap, | |
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) | |
+ .set_busid = drm_pci_set_busid, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/wl/sys/wl_cfg80211_hybrid.c 2014-06-26 10:42:08.000000000 +0000 | |
+++ b/src/wl/sys/wl_cfg80211_hybrid.c 2014-12-30 17:02:13.602127370 +0000 | |
@@ -63,8 +63,13 @@ | |
static s32 wl_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *dev, | |
struct cfg80211_ibss_params *params); | |
static s32 wl_cfg80211_leave_ibss(struct wiphy *wiphy, struct net_device *dev); | |
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 0) | |
static s32 wl_cfg80211_get_station(struct wiphy *wiphy, | |
struct net_device *dev, u8 *mac, struct station_info *sinfo); | |
+#else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/wl/sys/wl_cfg80211_hybrid.c 2014-06-26 12:42:08.000000000 +0200 | |
+++ b/src/wl/sys/wl_cfg80211_hybrid.c 2015-01-22 01:43:25.378920452 +0100 | |
@@ -63,8 +63,13 @@ | |
static s32 wl_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *dev, | |
struct cfg80211_ibss_params *params); | |
static s32 wl_cfg80211_leave_ibss(struct wiphy *wiphy, struct net_device *dev); | |
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 0) | |
static s32 wl_cfg80211_get_station(struct wiphy *wiphy, | |
struct net_device *dev, u8 *mac, struct station_info *sinfo); | |
+#else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// +build linux | |
package main | |
/* | |
#include <stdlib.h> | |
#include <dirent.h> | |
#include <btrfs/ioctl.h> | |
*/ | |
import "C" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- make sure Hydra launches at login | |
autolaunch.set(true) | |
-- watch for changes | |
pathwatcher.new(os.getenv("HOME") .. "/.hydra/", hydra.reload):start() | |
-- notify on start | |
notify.show("Hydra", "Started!", "", "") | |
-- extensions |
NewerOlder