From: Matt Fleming Date: Thu, 13 Mar 2014 19:41:08 +0000 (+0000) Subject: x86/efi: Rip out phys_efi_get_time() X-Git-Tag: v3.15-rc1~173^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f4a7836e33134d4ac34fa7c99788f0c6a79fa1c;p=pandora-kernel.git x86/efi: Rip out phys_efi_get_time() Dan reported that phys_efi_get_time() is doing kmalloc(..., GFP_KERNEL) under a spinlock which is very clearly a bug. Since phys_efi_get_time() has no users let's just delete it instead of trying to fix it. Note that since there are no users of phys_efi_get_time(), it is not possible to actually trigger a GFP_KERNEL alloc under the spinlock. Reported-by: Dan Carpenter Cc: Ingo Molnar Cc: H. Peter Anvin Cc: Nathan Zimmer Cc: Matthew Garrett Cc: Jan Beulich Signed-off-by: Matt Fleming --- Reading git-diff-tree failed