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
#/bin/sh | |
# note: the script is unable to distinguish between bare number being found | |
# in closed captions and the index itself, may be previous line's | |
# cr/crlf shoulf be handled in a proper way | |
COUNT=$1 | |
FILENAME=$2 | |
sed -i -r 's/^([0-9]+)\r$/echo "$((\1+'$COUNT'))"/ge' $FILENAME |
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
diff --git a/Makefile b/Makefile | |
index 00ff2dd68ff1..a00489268b33 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -1,7 +1,7 @@ | |
VERSION = 4 | |
PATCHLEVEL = 4 | |
SUBLEVEL = 162 | |
-EXTRAVERSION = | |
+EXTRAVERSION = -tresor0.5 |
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/Makefile | |
+++ b/Makefile | |
@@ -1,9 +1,10 @@ | |
#obj-m := mymod.o | |
obj-m := xwbios.o | |
-clean: | |
- rm -f *.o *.ko | |
+KDIR ?= /lib/modules/`uname -r`/build | |
+ |
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
# setting up irq affinity according to /proc/interrupts | |
# 2008-11-25 Robert Olsson | |
# 2009-02-19 updated by Jesse Brandeburg | |
# 2012-12-21 fix for systems with >32 cores by Andrey K. | |
# | |
# > Dave Miller: | |
# (To get consistent naming in /proc/interrups) | |
# I would suggest that people use something like: | |
#char buf[IFNAMSIZ+6]; | |
# |