From: Michal Schmidt Date: Tue, 8 May 2007 07:24:49 +0000 (-0700) Subject: Fix compilation of drivers with -O0 X-Git-Tag: v2.6.22-rc1~777 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee7b9e3706b9c5f90113eb16a1a84a1c01e09f95;p=pandora-kernel.git Fix compilation of drivers with -O0 It is sometimes useful to compile individual drivers with optimization disabled for easier debugging. Currently drivers which use htonl() and similar functions don't compile with -O0. This patch fixes it. It also removes obsolete and misleading comments. This header is not for userspace, so we don't have to care about strange programs these comments mention. (akpm: -O0 probably isn't a good idea, but this code looks pretty crufty and unuseful) Signed-off-by: Michal Schmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed