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
# Command: GLOG | |
# Description: alias that creates a nice and easy on eye history log with graph indication of merge commits and branches | |
git config --global alias.glog "\!git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative ; true" | |
# Run: | |
git glog | |
# Command: LASTWORKS | |
# Description: Lists the last 10 branches you worked on | |
git config --global alias.lastworks "for-each-ref --count=10 --sort=-committerdate refs/heads/" |
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/arch/arm/include/asm/thread_info.h b/arch/arm/include/asm/thread_info.h | |
index 870d7ff..5c5dc5b 100644 | |
--- a/arch/arm/include/asm/thread_info.h | |
+++ b/arch/arm/include/asm/thread_info.h | |
@@ -15,8 +15,8 @@ | |
#include <linux/compiler.h> | |
#include <asm/fpstate.h> | |
-#define THREAD_SIZE_ORDER 1 | |
-#define THREAD_SIZE 8192 |
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
/* How to return a value from a macro */ | |
#define FUNC(num1, num2) ({ \ | |
int __ret; \ | |
do { \ | |
__ret = (num1) < (num2) ? 0 : 1; \ | |
} while (0); \ | |
__ret; \ | |
}) |
NewerOlder