From dcaa634279385cfca633c9b52af5f96ecc7bb040 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 19 Oct 2017 14:14:08 +0200 Subject: zshrc: clean up profiles --- .zsh/zshrc/90_profiles | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.zsh/zshrc/90_profiles b/.zsh/zshrc/90_profiles index 53a608d..33c6a23 100644 --- a/.zsh/zshrc/90_profiles +++ b/.zsh/zshrc/90_profiles @@ -10,16 +10,15 @@ # Released under the terms of the Artistic Licence 2.0 # # Source repository: git://git.distanz.ch/dotfiles/zsh.git -# CHPWD_PROFILE='default' -zstyle ':chpwd:profiles:/home/tklauser/go(|/|/*)' profile distanz -zstyle ':chpwd:profiles:/home/tobiask/go(|/|/*)' profile distanz +zstyle ':chpwd:profiles:/home/tklauser/go(|/|/*)' profile distanz +zstyle ':chpwd:profiles:/home/tobiask/go(|/|/*)' profile distanz zstyle ':chpwd:profiles:/home/tklauser/src(|/|/*)' profile distanz zstyle ':chpwd:profiles:/home/tobiask/src(|/|/*)' profile distanz -zstyle ':chpwd:profiles:*locomotor-primitives*' profile uzh zstyle ':chpwd:profiles:/home/tobiask/zi(|/|/*)' profile zhinst +zstyle ':chpwd:profiles:/scratch/tobiask/zi(|/|/*)' profile zhinst chpwd_profile_distanz() { @@ -30,15 +29,6 @@ chpwd_profile_distanz() export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" } -chpwd_profile_uzh() -{ - [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1 - print "chpwd(): Switching to profile: $profile" - - export GIT_AUTHOR_EMAIL="tobias.klauser@uzh.ch" - export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" -} - chpwd_profile_zhinst() { [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1 -- cgit v1.2.3-54-g00ecf /a>refslogtreecommitdiff
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2010-10-26 14:21:10 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-26 16:52:03 -0700
commitf8f72ad5396987e05a42cf7eff826fb2a15ff148 (patch)
tree95dde867832a7e58a535f543b0f22498ff9f2be3 /mm/memory_hotplug.c
parent45352bbf48e95078b4acd20774f49e72676e1e0f (diff)
mm: fix return value of scan_lru_pages in memory unplug
scan_lru_pages returns pfn. So, it's type should be "unsigned long" not "int". Note: I guess this has been work until now because memory hotplug tester's machine has not very big memory.... physical address < 32bit << PAGE_SHIFT. Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory_hotplug.c')